Subject: RE: Entity references in xml output
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 3 Mar 2000 12:13:25 -0000
|
> > 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
| Current Thread |
|
Kay Michael - Thu, 2 Mar 2000 19:37:03 -0000
Kay Michael - Fri, 3 Mar 2000 12:13:25 -0000 <=
Wendell Piez - Fri, 03 Mar 2000 13:44:25 +0000
|
|