Question
Unknown error in XPath
Hello,
I am just starting to get into Xml/Xsl etc. I really don't know much but have been able to start what I need to do with the CF MX7 xml stuff. I can generate an xml file through <cfxml>. . I am using <cffile> to read both the xml and xsl and then using:
<CFSET Transformation = XmlTransform(TransformThisXML,trim(TheXSL))>.
However, when I use xmlTransform() I receive the error, "An error occured while Transforming an XML document. Unknown error in XPath"
I tried removing xsi:noNamespaceSchemaLocation and <?xml-stylesheet type="text/xsl" href=" http://webdev.rrdiml.com/netfile/XSL/D_X01.xsl"?> from the xml and get the same "Unknown error in XPath".
Any help would be greatly appreciated. I'm at a loss.
The xml is located at :
http://webdev.rrdiml.com/netfile_files/test.xml
And the xsl is at:
http://webdev.rrdiml.com/netfile/xsl/D_X01.xsl
I am just starting to get into Xml/Xsl etc. I really don't know much but have been able to start what I need to do with the CF MX7 xml stuff. I can generate an xml file through <cfxml>. . I am using <cffile> to read both the xml and xsl and then using:
<CFSET Transformation = XmlTransform(TransformThisXML,trim(TheXSL))>.
However, when I use xmlTransform() I receive the error, "An error occured while Transforming an XML document. Unknown error in XPath"
I tried removing xsi:noNamespaceSchemaLocation and <?xml-stylesheet type="text/xsl" href=" http://webdev.rrdiml.com/netfile/XSL/D_X01.xsl"?> from the xml and get the same "Unknown error in XPath".
Any help would be greatly appreciated. I'm at a loss.
The xml is located at :
http://webdev.rrdiml.com/netfile_files/test.xml
And the xsl is at:
http://webdev.rrdiml.com/netfile/xsl/D_X01.xsl
