RE: [xsl] passing params using asp into wml

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

   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")

Check out the Set processor line.


Daniel Newman.

 XSL-List info and archive:

Current Thread