[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: How to specify parameters in the href attribute of xml-s

Subject: RE: How to specify parameters in the href attribute of xml-stylesh eet?
From: Jonathan Marsh <jmarsh@xxxxxxxxxxxxx>
Date: Thu, 11 May 2000 12:16:56 -0700
xml s
This is a bug in IE5 in dealing with "&" in URLs in the xml-stylesheet PI.
I'd suggest using ";" as a delimiter instead - if I recall correctly the W3C
has been suggesting this for years.  You will have to split the query string
yourself though instead of relying on available server methods to do it for
you.

- Jonathan Marsh
  Microsoft

> -----Original Message-----
> From: Ciot, Thierry [mailto:Thierry.Ciot@xxxxxxxxxx]
> Sent: Thursday, May 11, 2000 11:26 AM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: Q: How to specify parameters in the href attribute of
> xml-stylesh eet?
> 
> 
> 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
> 


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.