AW: Re: [xml] problem reading attributes in XML with DTD
- From: oliverst online de
- To: <xml gnome org>
- To: <rrichards ctindustries net>
- Cc:
- Subject: AW: Re: [xml] problem reading attributes in XML with DTD
- Date: Wed, 19 Oct 2005 14:51:53 +0200
You aren't getting anything because you are reading the DTD (still part
of tree). The DTD is the first child of your doc. Use
xmlDocGetRootElement to get your root.
xmlNodePtr root = xmlDocGetRootElement(doc);
ARGH!
I was too lazy to lookup the function name, so I did it by accessing the children member.
Thanks a lot.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]