This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: FAQ candidate? parsing line-separated text files (was: Re: Off-topic: DOS script for XML directory listing)
- To: xsl-list at mulberrytech dot com
- Subject: Re: FAQ candidate? parsing line-separated text files (was: Re: Off-topic: DOS script for XML directory listing)
- From: Francis Norton <francis at redrice dot com>
- Date: Thu, 02 Mar 2000 14:47:50 +0000
- References: <39B19660C174D311BB9000A0C9E01C3F18B922@corfu.rnib.org.uk>
- Reply-To: xsl-list at mulberrytech dot com
"Pawson, David" wrote:
>
> Now who's going to do the *nix version?
According to the XML spec the line-parsing technique should be OS
independent. So you'd change the batch file (and SED those pesky
ampersands while you're at it), but no change to the XML file, and all
you need to do to the XSL file is swap the '\' for a '/'...:)
In other words the processing-a-line-separated-file technique should be
portable without change, and the specific utility should be fairly
easily transportable.
Francis.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list