|
Subject: RE: [xsl] passing params using asp into wml From: "Daniel Newman" <daniel.newman@xxxxxxxxxxx> Date: Tue, 10 Apr 2001 13:10:26 +0100 |
I just tried it in VB, and if you use the following code, you should be
alright?
Dim xml As MSXML2.DOMDocument
Dim xsl As MSXML2.FreeThreadedDOMDocument
Dim template As MSXML2.XSLTemplate
Dim processor As Object
Set xml = CreateObject("MSXML2.DOMDocument")
xml.async = False
xml.Load (Server.MapPath("/xml/clubs.xml"))
Set xsl = CreateObject("MSXML2.FreeThreadedDOMDocument")
xsl.async = False
xsl.Load (Server.MapPath("/xsl/searchwml.xsl"))
Set template = CreateObject("MSXML2.XSLTemplate")
template.stylesheet = xsl
Set processor = template.createProcessor
processor.input = xml
processor.addParameter "param1", Request.QueryString("param1")
processor.Transform
Check out the Set processor line.
hth?
Daniel Newman.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] passing params using asp , Andrew Welch | Thread | RE: [xsl] passing params using asp , Chris Bayes |
| Re: [xsl] XSLT UK - the aftermath, Francis Norton | Date | Re: [xsl] XSLT UK - the aftermath, Francis Norton |
| Month |