[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Converting CSV to XML without hardcoding schema d
Hi Vish,
I take it you're using XSLT 2.0 from the construct for-each select="tokenize(.,',')"? If not, let's not get on the wrong track. Even if so, look up the instruction <xsl:element/>, since it'll allow you to create elements named with values from your data -- better than trying to write tags. Thus their names don't have to be hard-coded. As for how to break your values out, that depends on whether you're using XSLT 2.0, which has better facilities for this, or 1.0, which requires you to break up the strings recursively (or use extension functions). Answer the 1.0/2.0 question and someone can help further. (I think I may be done for the day, sorry.) Cheers, Wendell At 03:17 PM 6/21/2006, you wrote: Can anybody suggest how to convert CSV data in the format
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|