>>>>> On Wed, 28 Aug 2002 10:07:07 +0100, Jean-Michel Hiver <[EMAIL PROTECTED]> said:
JM> <body><body></body></body> is not valid XHTML for example. JM> <input type="text" name="foo"></input> is not valid XHTML either. JM> You have to be careful about block-level and inline elements. Actually <input type="text" name="foo"></input> is valid XHTML. Correct me if I'm wrong but AFAIK <xxx></xxx> is exactly equivalent to <xxx/>. <input type="text" name="foo">something</input> is not valid. JM> etc. etc... JM> Besides, you cannot use an XML parser to parse HTML. You have to use JM> something like HTML::TreeBuilder instead. Part of HTML::Tree, excellent JM> module IMHO. XML::LibXML supports HTML too. -- Ilya Martynov (http://martynov.org/)