Hi all,
I am using C# to code for XSL transformations. My XSL uses the document('URL') function in a simple form:
<xsl:apply-templates select="document('xq485.xml')"/>
It works if I use the method:
xslTransform.Transform(InputFile, OutputFile);
But this method is "obsolete", and my xml files have use of namespaces that require me to use another method:
xslTransform.Transform(navigator, XsltArgList, Streamwriter, null);
My problem is that the document('URL') function doesn't seem to work when I use the second method. It doesn't give any error, but doesn't fetch the nodeset either.
Anyone has had this experience ? Any pointers ?
TIA,
Sheila
I am using C# to code for XSL transformations. My XSL uses the document('URL') function in a simple form:
<xsl:apply-templates select="document('xq485.xml')"/>
It works if I use the method:
xslTransform.Transform(InputFile, OutputFile);
But this method is "obsolete", and my xml files have use of namespaces that require me to use another method:
xslTransform.Transform(navigator, XsltArgList, Streamwriter, null);
My problem is that the document('URL') function doesn't seem to work when I use the second method. It doesn't give any error, but doesn't fetch the nodeset either.
Anyone has had this experience ? Any pointers ?
TIA,
Sheila