|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Multiple CDATA tags...again
What processor are you using? With xalan, for the following XML:
By the applying the following XSL: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="xml" omit-xml-declaration="no"
indent="yes" cdata-section-elements="TEXT" /> <xsl:template match="Field">
<xsl:if test="contains ('TEXT', @OutputName)">
<xsl:element name="{@OutputName}">
<xsl:copy-of select="."/>
</xsl:element>
</xsl:if>
</xsl:template>
</xsl:stylesheet>I get this result: <?xml version="1.0" encoding="UTF-8"?> <Field outputName="TEXT"> 2010 &quot;We respectfully Wish the health of the great leader [yo'ndude] Comarade Big John Il </Field> Regards, --A From: mylistaddress@xxxxxxxxxx Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: Multiple CDATA tags...again Date: Mon, 09 May 2005 18:02:41 -0700 (PDT) _________________________________________________________________ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
|
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
|

Cart








