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'" <xsl-list at mulberrytech dot com>
- Subject: RE: Entity references in xml output
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Fri, 3 Mar 2000 12:13:25 -0000
- Reply-To: xsl-list at mulberrytech dot com
> > 2) If you must preserve input entities then I think there is really
> > no standard solution ;-( (But I hope I hadn't reason!)
>
> XSLT is for transforming an XML file e.g for another XML file. This
> example is such a case, and no standard solution?:-(
>
> (Unfortunately it's an example from real life, not only a theoretic
> question.)
There is a solution in practice, which is to preprocess the input entity
reference &xxx; into $xxx; (e.g. using Perl) and reverse the process on the
output.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list