Re: [xml] Confused newbie...
- From: Daniel Veillard <veillard redhat com>
- To: David Filion <filioda videotron com>
- Cc: xml gnome org
- Subject: Re: [xml] Confused newbie...
- Date: Fri, 27 Jul 2001 13:43:15 -0400
On Fri, Jul 27, 2001 at 12:02:00PM -0400, David Filion wrote:
I'm trying to get a feel for how the libxml2 data structure is set up. I'm
using the example.xml from the xmlsoft.org web page as my source.
I can open the the file no problem.
When I do doc->children->name I get "EXAMPLE". Great. But,
when I do doc->children->children->name I get "text". I was expecting "head" as
stated by the web page.
What am I doing wrong?
nothing, you are just seeing the text node containing the carriage return
and the spaces present before thre th opening of the first children child
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
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]