Joerg Heinicke wrote:

On 19.06.2004 11:23, Stephan Coboos wrote:

Hello,

what can I do to replace & by & on end of the pipeline because I need the & to build a uri with parameters but what I get ist &

I'm using the HTMLSerializer for output (and need this one).


Even in HTML & should be replaced with & instead of the other way around. Only loose browsers allowed the lazy developers to use &. So just for building uris there is no need for replacing & with &. & is preserved for character and entity references.

http://www.w3.org/TR/html4/charset.html#h-5.3.2:

"Authors should use "&" (ASCII decimal 38) instead of "&" to avoid confusion with the beginning of a character reference (entity reference open delimiter). Authors should also use "&" in attribute values since character references are allowed within CDATA attribute values."

http://www.w3.org/TR/html4/appendix/notes.html#h-B.2.2
http://www.w3.org/TR/html4/appendix/notes.html#h-B.3.2.2

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Ahh, I see. That's good! Thank you.

Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to