Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

document() function with Navigator, ArgList, Writer,..

Status
Not open for further replies.

sheila11

Programmer
Dec 27, 2000
251
US
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top