xsl-list
[Top] [All Lists]

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

2010-06-30 16:59:53
On 30/06/2010 18:56, Costello, Roger L. wrote:
I would like the XSLT program to remove all CDATA sections in any XML document

PS

this is like asking to remove all attributes whose value is quoted by " rather than ' clearly it's possible but it is not a criterion expressable by xml tools which are designed not to see such syntactic variants. a perl (or sed or awk or ....) regexp could easily do this of course, but any XML application (DOM excepted) should treat
<![CDATA[a]]> the same as a, so can't remove one and not the other.

David


--~------------------------------------------------------------------
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>
--~--