Re: [xml] html parsing



No.. .  What I said was that the input is:::

<html>
   <body>
       Hello
   </body>
</html>

and the output is

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd";>

My question is: where is the HTML stuff?  All I get here is the DOCTYPE when I 
do the html dump.



On December 1, 2004 05:01 pm, you wrote:
Today at 16:30, JASON JESSO wrote:
and my output is
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd";>

I get

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd";> <html><body><p>
       Hello
   </p></body></html>

So, I'd say it works.

$ pkg-config --modversion libxml-2.0
2.6.13
$ python -V
Python 2.4a3

Cheers,
Danilo



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]