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

RE: XSL, Escaping, undocumented?

Subject: RE: XSL, Escaping, undocumented?
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Sun, 15 Jun 2003 11:12:20 +0200
RE:  XSL
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of FireNet -
> Information
> Sent: Sunday, June 15, 2003 11:02 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: SV:  XSL, Escaping, undocumented?
>
>
> XSL will try to retrieve a value from the URL:
> www.time.gov/time.asp?state=la&amp;applysummertime=no

If this is really the case, your XSLT engine is severely broken. Which one
is it? Do you have an HTTP trace of the GET request?

> ...
>
> The question is, more directly: How do I put a & in an URL, that  I can
pass
> to the document() function.

Using "&amp;". The XSLT processor should never do a GET request with the
XML-escaped ampersand, though.

> I have another question:
> How do I combine two variables?
> Say, I have the variables; first, second, third - each with the respective
> values 1, 2, 3.
>
> How do I do something like: <xsl:value-of
> select="$first$second$third"/> (in
> ASP you would write >> first & second & third << to get the value "123".

select="concat($first,$second,$third)"

> That way, I could, perhaps, define a variable with the value of  "&", and
use
> it in the URL?

...but I'd be really surprised if this would help.

Julian


 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.