Subject: Your Conclusions for Entity references in xml output
From: Jonathan Asbell <jonathana@xxxxxxxxxxxxxx>
Date: Fri, 3 Mar 2000 09:08:52 -0500
|
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@xxxxxxx]
Sent: Friday, March 03, 2000 7:13 AM
To: 'xsl-list@xxxxxxxxxxxxxxxx'
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
|