This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Your Conclusions for Entity references in xml output
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: Your Conclusions for Entity references in xml output
- From: Jonathan Asbell <jonathana at raremedium dot com>
- Date: Fri, 3 Mar 2000 09:08:52 -0500
- Cc: "'Michael dot Kay at icl dot com'" <Michael dot Kay at icl dot com>
- Reply-To: xsl-list at mulberrytech dot com
Michael, this conversation seems very important, but it has been scattered
over the course of days. Could you possibly summarize the problems, points,
conclusion, and solution?
Thanx
Jonathan Asbell
Raremedium
-----Original Message-----
From: Kay Michael [mailto:Michael.Kay@icl.com]
Sent: Friday, March 03, 2000 7:13 AM
To: 'xsl-list@mulberrytech.com'
Subject: RE: Entity references in xml output
> > 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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list