Hello,
I have an xml sample string like this:
<?xml version="1.0" encoding="ISO-8859-1"?><catalog><cd><title>Empire
Burlesque</title><artist>Bob
Dylan</artist><country>USA</country><company>Columbia</company><price>10.90</price><year>1985</year></cd></catalog>
and I need to obtaing a new reformatted version like this for a better
display in a richtextbox control:
<?xml version="1.0" encoding="ISO-8859-1"?>
<catalog>
<cd>
<title>Empire Burlesque</title>
<artist>Bob Dylan</artist>
<country>USA</country>
<company>Columbia</company>
<price>10.90</price>
<year>1985</year>
</cd>
</catalog>
How can I do that?
Maybe I can do that with xsl or a c# recoursive procedure but what's
better solution?
Thanks