Re: [xml] Is there any tree-structure for HTML?

On Wed, Dec 17, 2003 at 11:45:17PM -0800, Wei Chen wrote:
I read the document and find in example codes that
there is a function xmlDocGetRootElement(doc). It
seems only the XML-file has a tree-structure but the
HTML has no. Right? I wonder how can I get the element
easily as by handling the XML-file.

  Wrong. When parsing to a tree XML and HTML parser generate the
same kind of informations.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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