Subject: RE: MS XML Parser
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Fri, 16 Nov 2001 13:03:35 -0000
|
Doh! Still not awake.
Set fso = Server.CreateObject("Scripting.FileSystemObject")
fso.CreateTextFile "test1.xml"
set f = fso.GetFile "test1.xml"
set ts = f.OpenAsTextStream ForWriting, TristateUseDefault
doc.transformNodeToObject xsl, ts
But I'm still sure you don't want to do this
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> Chris Bayes
> Sent: 16 November 2001 12:36
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: 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 |
- RE: MS XML Parser, (continued)
- Ruane, Conleth - Fri, 16 Nov 2001 05:06:05 -0500 (EST)
- Ruane, Conleth - Fri, 16 Nov 2001 07:09:27 -0500 (EST)
- Chris Bayes - Fri, 16 Nov 2001 07:35:32 -0500 (EST)
- Chris Bayes - Fri, 16 Nov 2001 08:03:17 -0500 (EST) <=
- Ruane, Conleth - Fri, 16 Nov 2001 07:54:22 -0500 (EST)
- Ruane, Conleth - Fri, 16 Nov 2001 08:26:50 -0500 (EST)
|
|