[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

Subject: Re: How to retain Unmapped Entity in Trasformed Output
From: Syd Bauman <Syd_Bauman@xxxxxxxxx>
Date: Mon, 1 Feb 2010 09:20:28 -0500
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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.