This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Entity references in xml output
- To: xsl-list at mulberrytech dot com
- Subject: Re: Entity references in xml output
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Thu, 2 Mar 2000 18:07:18 GMT
- References: <38BEAB0D.E7008BE4@matavnet.hu>
- Reply-To: xsl-list at mulberrytech dot com
> XSLT is for transforming an XML file e.g for another XML file
NO!!!!!!
XSLT does not work on files, it works on _trees_
so for instance you can not write an XSLT stylesheet that reads in an
XML file and gives you the same file back.
What you can do is read in an XML file and get back an XML document that
has the same parse tree as the original.
If you want to think of XML as characters in a file rather than as
trees of nodes then xslt will be very hard to use and you would be
better to use a language designed to work on text striungs, such as
perl.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list