[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to modify a RDF document and preserve the <!D
> So probably then I'll just write a xsl that used unparsed-text() > and analyze-string to do that work around and go from there. Personally, if I'm going to use such non-XML hacks, I prefer to do them outside of XSLT, so they don't look like they have the stature of real XML processing. perl -pe < 's,&([A-Za-z][A-Za-z0-9._-]*);,#$1;,g;' < in.xml | xsltengine - | perl -pe 's,#,&,g;' > out.xml (all on one line, of course) works nicely for me so long as '#' is chosen to be a character that does not occur naturally in in.xml.
|
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
|