【问题标题】:xml rendering in html在 html 中呈现 xml
【发布时间】:2010-10-05 13:35:54
【问题描述】:

我有 foll xml,谁能指导我如何在 html 表格中呈现它。

<order po="123" contact="me" comment="out of stock reorder">
   <shippingAddress line1="123 Fake St" city="Madison" state="WI" zip="12345" />
   <lineItem id="1" quantity="50" comment="for me">
      <part number="XYZ123" descr="Spark Plug" price="5.00" weight="0.12" />
   </lineItem>
   <lineItem id="2" quantity="1">
      <part number="ABC456" descr="Jacket" price="150.00" weight="5.0" />
   </lineItem>
</order>

【问题讨论】:

  • @user443946:如果您需要 XSLT 示例,请提供所需的输出。

标签: html css xml xhtml


【解决方案1】:

【讨论】:

    【解决方案2】:

    XSLT,如果你想设置它的样式并使用 xml

    如果你想/需要在客户端解析 JavaScript

    如果您希望在服务器上解析,则为服务器端语言

    你的问题很模糊。请详细说明。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-07-08
      • 1970-01-01
      • 1970-01-01
      • 2011-09-09
      • 2013-09-27
      • 1970-01-01
      相关资源
      最近更新 更多