Q: How to specify parameters in the href attribute of xml-stylesh eet?

Subject: Q: How to specify parameters in the href attribute of xml-stylesh eet?
From: "Ciot, Thierry" <Thierry.Ciot@xxxxxxxxxx>
Date: Thu, 11 May 2000 14:26:18 -0400
Hi,

I am trying to change the content of my XSL stylesheets dynamically using
microsoft active server pages.  The parameters to change the style sheet are
read from the URL (i.e. test_xsl.asp?param1=xxx).  So far everything works
fine except when I need to pass more than one parameter.

That is, when I have, in my xml file: 

<?xml-stylesheet type="text/xsl" href="test_xsl.asp?param1=xxx"?> 

it works OK 

but when I have something like: 

<?xml-stylesheet type="text/xsl" href="test_xsl.asp?param1=xxx&param2=yyy"?>


it does NOT work.


I suspect the problem is with the & that is used to separate the 2 name
value pairs.
I have tried to use an entity (&amp;) but it does not work either.

So my question is: How do I specify the ampersand to separater name value
pairs.

Thanks in advance, Thierry.


PS: I am viewing the XML file in IE5.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread