Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CDATA in XSL
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
XML
Title:
CDATA in XSL
Miscellaneous
Thread ID:
00614580
Message ID:
00614580
Views:
57
I am trying to transform an XML document that has a CDATA tag using XSL. Without the CDATA in the XML, the transformation works fine, but with the CDATA, I get an OLE error from VFP.

The XML:
<?xml version="1.0" encoding="Windows-1252" standalone="yes" ?> 
<VFPData>
<topictext>
<topic>foxteam</topic> 
<topictext>
<![CDATA[ Some of Microsoft's VFP Team. (updated [2001.08.06] ) ]]> 
</topictext>
</topictext>
</VFPData>
The XSL:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<HTML>
<BODY>
<xsl:for-each select="VFPData/topictext">
		<xsl:value-of select="topic"/></br>
		<xsl:value-of select="topictext"/></br>
 </xsl:for-each>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>
Next
Reply
Map
View

Click here to load this message in the networking platform