This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Keeping entity references from input
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Keeping entity references from input
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 4 Jul 2001 15:15:16 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> But is it possible to get an XML parser to refrain from
> resolving entities,
> and to pass on the entity references as they exist in the
> source instead
> (without great effort)?
The pragmatic solution is to run a Perl script over the XML document, before
transformation, that replaces & with say $!$, and then reverse the process
when transformation is complete.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list