Subject: Re: [xsl] How to retain Unmapped Entity in Trasformed Output|
From: Syd Bauman <Syd_Bauman@xxxxxxxxx>
Date: Mon, 1 Feb 2010 09:20:28 -0500
> So unless you use LexEv (http://andrewjwelch.com/lexev/) on your > XML input first ... Or something similar. I have to admit, I once advised a colleague to use the hack $ perl -pe 's,&,@,g;' < input.xml > temp.xml $ xslt style.xslt temp.xml | perl -pe 's,@,&,g;' > output.xml But here I had the advantage of knowing the data very well -- I knew that the character "@" never occured, that "&" never occured except in its markup role, and that there was no markup in the replacement text of any named entities.