techie
2006-01-14 22:02:24 UTC
I'm trying to apply a XSLT transformation on a XML file. The XSLT file
takes as parameter another XML file (node set). It actually merges the two
XML files.
I load the first XML file into a DOMDocument object (pXmlDoc), followed by
the XSLT (pXslDoc). Then I set the parameter in the XSLT document by
setting the text of the param node. The text is
document('C:\TEMP\GAZ193.tmp')
I create a new DOMDocument for the output and wrap it in a VARIANT:
VARIANT v;
v.vt = VT_DISPATCH;
v.pdispVal = oOutput;
As soon as I do the transformation below,
pXmlDoc->transformNodeToObject( pXslDoc, v );
I get a COM exception:
"Expected token 'EOF' found ':'.
C-->:<--\TEMP\GAZ193.tmp"
Any idea what could be the cause of this error? Could it be anything to do
with namespaces?
takes as parameter another XML file (node set). It actually merges the two
XML files.
I load the first XML file into a DOMDocument object (pXmlDoc), followed by
the XSLT (pXslDoc). Then I set the parameter in the XSLT document by
setting the text of the param node. The text is
document('C:\TEMP\GAZ193.tmp')
I create a new DOMDocument for the output and wrap it in a VARIANT:
VARIANT v;
v.vt = VT_DISPATCH;
v.pdispVal = oOutput;
As soon as I do the transformation below,
pXmlDoc->transformNodeToObject( pXslDoc, v );
I get a COM exception:
"Expected token 'EOF' found ':'.
C-->:<--\TEMP\GAZ193.tmp"
Any idea what could be the cause of this error? Could it be anything to do
with namespaces?