(RETRY from June 25)
I have published such a library to convert CSV to XML and it is
published in my list of free resources:
<http://www.CraneSoftwrights.com/resources/#csv>http://www.CraneSoftwrights.com/resources/#csv
It can be used standalone or imported into another stylesheet.
I hope this helps.
. . . . . . . . . . Ken
On Jun 25, 2013 8:46 AM, "henry human"
<<mailto:henry_human(_at_)yahoo(_dot_)de>henry_human(_at_)yahoo(_dot_)de> wrote:
Hi guys
Need your help:
How get this csv data to xml using xslt:
a) CSV
USA,AA,Comp. 1,U,012345,L987
USA,BB,Comp.2,Z,034567888888,F098
USA,CC,Comp 3,M,034847474747,F098
//more csv rows.
b) xml (result)
<?xml version="1.0" encoding="UTF-8"?>
<MemberList">
<Segment>
<Country>USA</Country>
<Draft>AA</Draft>
<Description>Comp.1 </Description>
<ChangeMode>U</ChangeMode>
<Code>012345</Code>
<comNumber>L987</comNumber>
</Segment>
//here more segments representing rows in csv
</MemberList>
Thanks
Henry
--
Contact us for world-wide XML consulting and instructor-led training |
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm |
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ |
G. Ken Holman mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
|
Google+ profile: https://plus.google.com/116832879756988317389/about |
Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
--~------------------------------------------------------------------
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>
--~--