|
Subject: RE: [xsl] passing username From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Mon, 26 Mar 2001 17:22:55 +0100 |
>Hi Gloria,
Missed this one.
> If you're using MSXML (i.e. doing the
>transformation client-side with IE) then you need to script the
>transformation and use the addParameter() method:
Not necesarily. If Gloria doesn't need it in the transform then
<script language="JavaScript" type="text/javascript">
var querystring = document.location.search;
var bits = querystring.split("&");
var hash = new Array();
for (var i=0; i < bits.length; i++){
var nv = bits[i].split("=");
hash[nv[0]] = nv[1];
}
var username = hash["username"];
something.innerText = "Hello " + username;
</script>
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] passing username, Jeni Tennison | Thread | Re: [xsl] passing username, g p |
| RE: [xsl] Dynamic xml into xmldom, Chris Bayes | Date | RE: [xsl] Data Leakage, Simon Reed |
| Month |