On Fri, Mar 23, 2007 at 05:25:47PM -0400, Kali, Jayashree wrote:
> Thanks for your instant reply. But my requirement is if the first node
> is the main node containing other nodes I need to ignore it. But if it
> contains that data then I need to include it.

  From an XML point of view the parser cannot ignore it. Either you
detect and ignore it at your level after parsing (and it's dependant on
how you process the data) or you have to get it stripped out with non-XML
tools before handling it to the parser. I don't see any other possibilities
and in either case, it's fully dependant on how your code work, not on
how libxml2 works.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to