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

Re: [xml] Partial parsing



On Wed, Mar 17, 2004 at 05:21:32PM +0200, Ohad Oded wrote:
> Hi 
> 
> I have a rookie question about parsing.
> I want to parse just the root element, it's enough to identify the
> document's type.
> How can I do it?

  use the xmlReader and stop at the first element...
    http://xmlsoft.org/xmlreader.html

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]