Xml output on HTML
Posted
by
umitunal
on Stack Overflow
See other posts from Stack Overflow
or by umitunal
Published on 2011-01-02T11:17:53Z
Indexed on
2011/01/02
11:54 UTC
Read the original article
Hit count: 194
Hi,
My xml data =
<Item "/api/items/4000000002011"><ItemID>4000000002011</ItemID><Name>Sample Item1</Name><Description>Sample Description</Description><Rate>34.00</Rate><Tax1Name>PST</Tax1Name><Tax1Percentage>8</Tax1Percentage><Tax2Name/><Tax2Percentage/></Item>
Html output=<Item uri="/api/items/4000000002011"> <ItemID>4000000002011</ItemID><Name>Sample Item1</Name><Description>Sample Description</Description><Rate>34.00</Rate><Tax1Name>PST</Tax1Name><Tax1Percentage>8</Tax1Percentage><Tax2Name/><Tax2Percentage/></Item>
I want to html output.How do I?
<Item "/api/items/4000000002011">
<ItemID>4000000002011</ItemID>
<Name>Sample Item1</Name>
<Description>Sample Description</Description>
<Rate>34.00</Rate>
<Tax1Name>PST</Tax1Name>
<Tax1Percentage>8</Tax1Percentage>
<Tax2Name/>
<Tax2Percentage/>
</Item>
© Stack Overflow or respective owner