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 username


>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


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