Subject: Re: [xsl] Supressing entity expansion during XSLT transform From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Sat, 12 Jan 2008 14:50:36 +0530 |
Thanks Mike for useful hints ... On Jan 12, 2008 2:12 PM, Michael Kay <mike@xxxxxxxxxxxx> wrote: > Since entity expansion is done by the XML parser before the XSLT processor > gets any sight of the data, the only possible way you could stop it > happening would be at the XML parser level. > > 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. > > Michael Kay > http://www.saxonica.com/ -- Regards, Mukul Gandhi
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Supressing entity expansi, Michael Kay | Thread | Re: [xsl] Supressing entity expansi, Jesper Tverskov |
Re: [xsl] Supressing entity expansi, Colin Paul Adams | Date | Re: [xsl] Supressing entity expansi, Jesper Tverskov |
Month |