xsl-list
[Top] [All Lists]

Re: [xsl] [XSLT 1.0] How to remove CDATA sections?

2010-06-30 19:50:07

Not in XSLT.

You want a text processor that works at the text level, not the XML level.

...

Take a look at sed, awk, perl, or python.


Or at Andrew Welch's LexEv, which converts the CDATA sections into something that XSLT can recognize:

http://andrewjwelch.com/lexev/

Michael Kay
Saxonica

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--