Hi Folks,
Consider this XML document containing a CDATA section:
<?xml version="1.0" encoding="US-ASCII"?>
<Weather xmlns="http://www.weather.org">
<Source>Agent Dick Tracy</Source>
<Location>Atlantistan</Location>
<Date>2009-09-30T12:26:00</Date>
<Temperature units="degrees F">91</Temperature>
<![CDATA[
<% String eid = request.getParameter("eid"); %>
Employee ID: <%= eid %>
]]>
</Weather>
Using XSLT 1.0, I would like to remove the CDATA section:
<?xml version="1.0" encoding="US-ASCII"?>
<Weather xmlns="http://www.weather.org">
<Source>Agent Dick Tracy</Source>
<Location>Atlantistan</Location>
<Date>2009-09-30T12:26:00</Date>
<Temperature units="degrees F">91</Temperature>
</Weather>
This is just one example. I would like the XSLT program to remove all CDATA
sections in any XML document. Is there a way to do it?
/Roger
--~------------------------------------------------------------------
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>
--~--