ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error
|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: escaping from CDATA
Thanks Jeni. I got a version of the following to work but I don't understand why I need the reference to string() - isn't that the problem that my node is text in the first place - why do I have to convert it to a string? <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:user="http://mycompany.com/mynamespace"
version="1.0"> <msxsl:script language="JavaScript" implements-prefix="user">
<![CDATA[
function createNodeset(arg) {
var xmlDoc = new ActiveXObject("Msxml2.DOMDocument");
xmlDoc.loadXML(arg);
return xmlDoc;
}
]]>
</msxsl:script>
<xsl:template match="CdataNode">
<xsl:variable name="arg" select="."/>
<xsl:value-of select="user:createNodeset(string($arg))"/>
</xsl:template>
</xsl:stylesheet>_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








