HTML output method and & in URLs 2003-01-28 - By Herr Christian Wolfgang Hujer
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi Dan,
Am Dienstag, 28. Januar 2003 20:34 schrieb Dan Jacobs: > Hi Angus, > As far as I can tell, when you extract an entity-encoded String from > your XML document, the entities are translated, and then you have your > String. If you then include that String in the generated output, you > have to re-entity-encode it yourself.
No, that's not required, regardless wether output method is xml or html. The output must be well-formed SGML / HTML and if the transformation would basically generate valid HTML the output must also be valid. Not encoding & as & is a violation of the XSLT and the HTML specs. See XSLT section 16.2 HTML Output Method and HTML 4 section B.2.1 / B.2.2.
Bye - -- ITCQIS GmbH Christian Wolfgang Hujer Gesch�ftsf�hrender Gesellschafter Telefon: +49 (0)89 27 37 04 37 Telefax: +49 (0)89 27 37 04 39 E-Mail: Christian.Hujer@(protected) WWW: http://www.itcqis.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+NuWqzu6h7O/MKZkRAk1eAJ4z9vbJE2D45aQNzME3IUwOGOaMuwCaAoPf +wJgff5EopbWh4cNyBuaY1Y=RufC -----END PGP SIGNATURE-----
|
|