Re: [xsl] Document() and &

Subject: Re: [xsl] Document() and &
From: "Charles Knell" <cknell@xxxxxxxxxx>
Date: Fri, 17 May 2002 13:00:54 -0700
---- "Thomas B. Passin" <tpassin@xxxxxxxxxxxx> 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 "&amp;" embedded in the URL
which appears as the value of the src or rel attributes in the resulting
HTML document.

Charles Knell
cknell@xxxxxxxxxx - email 

 XSL-List info and archive:

Current Thread