[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to retain Unmapped Entity in Trasformed Output
> 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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|