Altova Mailing List Archives


Re: [xsl] href with & ?

From: Peter Davis <pdavis152@--------->
To:
Date: 9/17/2002 1:03:00 PM
-----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

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.