Re: [xsl] href with & ?

Subject: Re: [xsl] href with & ?
From: Peter Davis <pdavis152@xxxxxxxxx>
Date: Tue, 17 Sep 2002 14:04:42 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 17 September 2002 13:39, Holmberg Rick-ra0119 wrote:
> I was thinking that somehow because it was a part of the href, that it
> needed to be & instead of &amp; to show up correctly.

You are right that it should be "&" in HTML, but the XSLT page is in XML.  It 
is only translated to HTML by the XSLT engine's serializer, when you specify 
an <xsl:output method="html"/> tag.  The engine doesn't copy the text 
literally; it first parses the XSLT page using a normal XML parser, and then 
serializes the parsed text according to the output method and encoding.

But you've figured this out by now :)

- -- 
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9h5jqhDAgUT1yirARAomRAJ0fG10TA8adewy+FTMCnF3lTwe75QCgmzuW
qZ4MgVY3h42Utaj+NV8Y2b0=
=YaEZ
-----END PGP SIGNATURE-----


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


Current Thread