Can anybody point out where I have content in a prolog?
<cfsavecontent variable="articleXSL">
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="text"/>
<xsl:template match="/">
<xsl:for-each select="articles/child::*">
<xsl:value-of select="@id" />,
</xsl:for-each>0
</xsl:template>
</xsl:stylesheet>
</cfsavecontent>
That is used in this line.
<cfset tempXML = xmlParse(xmlTransform(session.xmlobj,articleXSL))>
Ian Skinner - 30 Aug 2006 20:04 GMT
That is used in this line.
<cfset tempXML = xmlParse(xmlTransform(session.xmlobj,articleXSL))>
It took me an hour to realize I needed to remove the xmlParse function
from this line. I was trying to parse the text and/or html I was
returning from my xslt back into an xml object.
<cfset tempXML = xmlTransform(session.xmlobj,articleXSL)>