This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Document() and &


---- "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 "&amp;" 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]