Re: [xml] html parsing on content stored in memory chunk



On Mon, Jan 21, 2002 at 07:32:38PM -0800, Sonia Tsui wrote:
Hi All,

I do not fully understand how html parsing on content which stored in
memory chunk works.
Suppose we are in the middle of the tag (eg <a href =whatever.h), how
does the parser handles it, does that mean that I should hold the
characters and then concatenate all of them until I get to to the
endElement.
In other words, does that mean the user_data here only holds partial
attribute value?
StartElem(void *user_data, const xmlChar *name, const xmlChar **attr)

  The parser has state and you will get the callback only when the
end of the start tag will have been completely provided.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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