1

I have the foll xml can anyone please guide me how can i render it in html table.

<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>
1
  • @user443946: If you want an XSLT example, please provide desired output. Commented Oct 5, 2010 at 21:54

2 Answers 2

3

Use XSLT: http://www.w3schools.com/xsl/

Sign up to request clarification or add additional context in comments.

Comments

1

XSLT, if you want to style it and use is as xml

JavaScript if you want/need it parsed on the client side

A serverside language if you want it parsed on the server

Your question is vague. Please detail.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.