xsl-list
[Top] [All Lists]

Re: xml.load style file problem

2003-01-08 14:53:06
Thankx Edward
----- Original Message -----
From: <Edward(_dot_)Middleton(_at_)nikonoa(_dot_)net>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Tuesday, January 07, 2003 10:33 PM
Subject: RE: [xsl] xml.load style file problem


   set  style = Server.CreateObject("Microsoft.XMLDOM")
   style.async = false
   style.load styleFile

this code is to used to load the xsl file in dom ... where the styleFile
is
the path of xsl file ... i there any way that we should give the whole
xsl
as a string after reading the xsl file through fso in that string.

I don't really understand your question but I think you are looking for
one of the following

.loadXML(string) method
which loads the xml document from the supplied string
e.g.
style.loadXML(xmlstring)

.xml property
which is the string representation of the xml file.

e.g.
xmlstring = style.xml

Edward Middleton

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


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



<Prev in Thread] Current Thread [Next in Thread>