This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: passing params using asp into wml


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]