RE: [xsl] Keeping entity references from input

Subject: RE: [xsl] Keeping entity references from input
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 4 Jul 2001 15:15:16 +0100
> 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


Current Thread