This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Document() and &
- From: "Stuart Celarier" <stuart at ferncrk dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 17 May 2002 08:05:41 -0700
- Subject: RE: [xsl] Document() and &
- Reply-to: xsl-list at lists dot mulberrytech dot com
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