RE: [xsl] Document() and &

Subject: RE: [xsl] Document() and &
From: "Stuart Celarier" <stuart@xxxxxxxxxxx>
Date: Fri, 17 May 2002 08:05:41 -0700
Josh, the document() function when passed one string parameter
interprets that string as URI (that is a URL or URN). You do not escape
characters in a URI using the character entity references defined in
HTML 4.01 or XML 1.0 (silly goose).

In a URI, a character is escaped as a sequence of hexadecimal byte
values, each of the form %HH. An ampersand is represented in a URI with
the sequence '%26' (without the single quote marks). That should work
for you, but if not, tell me what operating system you are working with.
Read more about URIs at http://www.w3.org/Addressing/.

Cheers,
Stuart 


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


Current Thread