Hi, I'm trying to write to a file.
The file is getting created.
The file is even getting written to because the file ends up being one
kb. so I guess there is something coming in.
The code that is driving me crazy right now is:
xslDoc2.load("C:/projects/tests/schematron/suchen/validationreport.xsl");
xslt2.stylesheet = xslDoc2;
xslProc2 = xslt2.createProcessor();
xslProc2.input = xmlDoc;
xslProc2.transform();
WScript.Echo(xslProc2.output);
openfile = fso.GetFile(newFileObject);
openedfile = openfile.OpenAsTextStream(2, true);
openedfile.Write(xslProc2.output);
openedfile.Close();
The XSLT above is being loaded. the transform executed, the output
echoed.
But when I try to write that output to the file it does not work. note
the file is getting created and it exists.
Thanks