Re: [xml] Partial parsing

On Wed, Mar 17, 2004 at 05:21:32PM +0200, Ohad Oded wrote:

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...


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]