This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Document() and &
- From: "Charles Knell" <cknell at onebox dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 17 May 2002 13:00:54 -0700
- Subject: Re: [xsl] Document() and &
- Reply-to: xsl-list at lists dot mulberrytech dot com
---- "Thomas B. Passin" <tpassin@mitretek.org> wrote:
> 2) You want to have a valid URL in the HTML output from a stylesheet.
>
> I think you are talking about case 2), are you not? As I understand
> things,
=========================================
Yes, that is correct.
> you actually ***are*** supposed to escape ampersands in HTML attributes
> (just like in XML), but in fact browsers are generally quite tolerant
> and
> are happy to accept unescaped ampersands in hyperlinks.
=============================================================
And I would be happy to use escaped or unescaped in the original string,
but either way, I'm getting the unusable "&" embedded in the URL
which appears as the value of the src or rel attributes in the resulting
HTML document.
--
Charles Knell
cknell@onebox.com - email
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list