Subject: [xsl] setParameter() From: "Luke Ambrogio" <luke.ambrogio@xxxxxxxxxxxx> Date: Mon, 23 Sep 2002 14:46:56 +0200 |
Hi guys and gals, The following javascript code should retrieve a querystring value and assign its value to a xsl:param in a stylesheet, but its not changing the value of sector can anyone identify why? var myXMLHTTPRequest = new XMLHttpRequest(); myXMLHTTPRequest.open("GET", "example.xsl", false); myXMLHTTPRequest.send(null); xslStylesheet =myXMLHTTPRequest.responseXML; xsltProcessor.importStylesheet(xslStylesheet); if (getURLParams("s") !=null) { xsltProcessor.setParameter(null, "sector", getURLParams("s")); myXMLHTTPRequest =new XMLHttpRequest(); myXMLHTTPRequest.open("GET", "exmaple.xml", false); myXMLHTTPRequest.send(null); } regards Luke
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Adding empty elements for, David Carlisle | Thread | RE: [xsl] Adding empty elements for, Jarno.Elovirta |
Date | Re: [xsl] value-of and param, Luke Ambrogio | |
Month |