Write XSL for this xml i want to convert xml to CSV formt
-
<?xml version="1.0" encoding="utf-16"?> <data> <student> <roll>234</roll> <name>Sidheshwar</name> <address> <DoorNo>123</DoorNo> <Street>MyStreet</Street> <city> <code>code01</code> <name>MyCity10</name> </city> <city> <code>code02</code> <name>MyCity11</name> </city> </address> <address> <DoorNo>200</DoorNo> <Street>MyStreet2</Street> </address> <address1> <Sam>1000address1</Sam> <Pankaj>MyStreet2000address1</Pankaj> </address1> <pin>560004</pin> </student> </data> i have a xml i want to convert xml to csv format using XSLT. I need to write XSL for this xml. It Should be genric.
-
<?xml version="1.0" encoding="utf-16"?> <data> <student> <roll>234</roll> <name>Sidheshwar</name> <address> <DoorNo>123</DoorNo> <Street>MyStreet</Street> <city> <code>code01</code> <name>MyCity10</name> </city> <city> <code>code02</code> <name>MyCity11</name> </city> </address> <address> <DoorNo>200</DoorNo> <Street>MyStreet2</Street> </address> <address1> <Sam>1000address1</Sam> <Pankaj>MyStreet2000address1</Pankaj> </address1> <pin>560004</pin> </student> </data> i have a xml i want to convert xml to csv format using XSLT. I need to write XSL for this xml. It Should be genric.
Hi, have a look here: http://www.stylusstudio.com/xmldev/200404/post60210.html[^] The answer seems perfectly to suit your needs. Regards Sebastian
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.