[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Entity references in xml output


Subject: Re: Entity references in xml output
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 2 Mar 2000 18:07:18 GMT


> 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



Current Thread
Keywords