This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Keeping entity references from input


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]