xsl-list
[Top] [All Lists]

RE: Converting CSV file to XML file Using XSLT

2005-07-21 05:20:48
Thanks for the reply..
I tried to execute the example given. But I am getting exceptions like
        "javax.xml.transform.TransformerException: Could not find function:
unparsed-text"
I thought the problem is with saxon parser. I downloaded saxon8.jar and
included in path.
But I am unable to run the code. Can any one solve this problem.

Thanks,
Laxmi Narayana


-----Original Message-----
From: George Cristian Bina [mailto:george(_at_)sync(_dot_)ro]
Sent: Thursday, July 21, 2005 3:10 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Converting CSV file to XML file Using XSLT


Hi,

You can find a sample that converts tab delimited files to XML here:
http://www.oxygenxml.com/forum/ftopic977.html
You should be able to easily change that to handle comma instead of tab.

Hope that helps,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Lakshmi narayana wrote:
Hi List,

Is it possible to convet a file which is in CSV format to XML file using
XSLT.
If possible, can any one give me the example in XSLT to convert CSV file
to
XML.

Thanks,
Laxmi Narayana


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--