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]

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


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

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