[XML-SIG] well-formed xml

Juergen Hermann jh at web.de
Fri Sep 27 09:46:35 CEST 2002


On Thu, 26 Sep 2002 19:08:48 -0500, Mark McEahern wrote:

>I'm obviously missing something because this seemingly innocent chunk of
>xhtml:
>
>  from xml.dom import minidom
>
>  s = "<a href='http://google.com/search?hl=en&q=foobar'>search</a>"

This is not well-formed and thus not XHTML.

... en&amp;q= ...

is the correct form.


Ciao, Jürgen

--
Jürgen Hermann, Developer
WEB.DE AG, http://webde-ag.de/






More information about the Python-list mailing list