xsl-list
[Top] [All Lists]

RE: Creating xml files

2003-07-23 07:54:07
To create XML from CSV, XSLT 1.0 can even be used, if you're willing to recurse.

Check out http://exslt.org/str/index.html for a tokenize() extension function, which can be adapted or used out of the box in many processors.

Or roll your own as an exercise in recursive string processing in XSLT. Jeni Tennison's "XSLT On the Edge" is filled with examples of this sort of thing. (It's also in the list archives and, probably, in the FAQ.)

Cheers,
Wendell

Check out EXSLT.org At 07:47 AM 7/23/2003, you wrote:
xslt 2.0 would be another choice....
gl, jim fuller

> -----Original Message-----
> From: Lawrence Mielniczuk [mailto:lwm(_at_)bodley(_dot_)ox(_dot_)ac(_dot_)uk]
> Sent: 23 July 2003 11:51
> To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
> Cc: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
> Subject: Re: [xsl] Creating xml files
>
>
> Perl would be an obvious choice.
> ---LwM---
> >
> > Is there software available that will read a csv file and let you
> > structure it into an xml file??

___&&__&_&___&_&__&&&__&_&__&__&&____&&_&___&__&_&&_____&__&__&&_____&_&&_
    "Thus I make my own use of the telegraph, without consulting
     the directors, like the sparrows, which I perceive use it
     extensively for a perch." -- Thoreau


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>