Re: Removing namespaces without escaping CDATA???
No ... remember that the emitted result tree cannot be addressed in any fashion and the distinction between the different contexts of "y" in the result tree is, effectively, trying to address the result tree to know "where am I now in the result tree?" in order to selectively apply the serialization rule.
For somebody, CDATA section could be useful at location /x/p/q/y, and not at location /x/y. But this cannot be achieved, with current syntax <xsl:output cdata-section-elements="qnames" />.
I suggested an improvement to the xsl:element instruction, with <xsl:element name="qname" cdata-section="yes | no" .. As Mike said, this is architecturally bad from XSLT processor design point of view (but is it that bad?). But it seems to be an useful feature from end user's point of view.
-- Regards, Mukul Gandhi
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