xsl-list
[Top] [All Lists]

RE: xml.load style file problem

2003-01-07 23:33:45
   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



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