RE: [xsl] MS XML Parser

Subject: RE: [xsl] MS XML Parser
From: "Ruane, Conleth" <Conleth.Ruane@xxxxxxxxxx>
Date: Fri, 16 Nov 2001 13:53:23 +0100
Chris, don't worry, I had spotted you typo. 
And as you suspected that gives me the result I'm looking for
So I'll experiment with the file suggestion.

Thanks
Bye
Conleth Ruane
> COMPAQ  EMEA HQ IM, Munich
Telephone: +49-89-9392-4393
mailto:Conleth.Ruane@xxxxxxxxxx


-----Original Message-----
From: Chris Bayes [mailto:chris@xxxxxxxxxxx]
Sent: Friday, November 16, 2001 1:36 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] MS XML Parser


Conleth,
Doh! I wasn't awake.
I should have said use the "Response" object i.e.

doc.transformNodeToObject xsl, Response

Which will stream the result to the client. If you want to do it to a
file although I think you probably don't you will need to 

Set fso = Server.CreateObject("Scripting.FileSystemObject");
fso.CreateTextFile( "test1.xml" );
f = fso.GetFile("test1.xml");
ts = f.OpenAsTextStream(ForWriting, TristateUseDefault);
doc.transformNodeToObject xsl, ts

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread