Re: [xsl] Supressing entity expansion during XSLT transform

Subject: Re: [xsl] Supressing entity expansion during XSLT transform
From: "Jesper Tverskov" <jesper@xxxxxxxxxxx>
Date: Sat, 12 Jan 2008 10:35:03 +0100
On 1/12/08, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> In practice the pragmatic solution is to preprocess entity references (at
> the level of a text file, e.g. using Perl) to change &abc; to something like
> #abc; where # is some sufficiently-rare character, and hten to postprocess
> the transformation result to change it back.

This is exactly what I do in my
http://www.xmlplease.com/identity-template.xsl solution, except that I
use the REGEX implementation in XSLT 2.0.

Cheers,
Jesper Tverskov

Current Thread