[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] XML beginner's question
- From: "Andrew M." <andrew mallberg vp44 com>
- To: "Callum Gibson" <callum_r_gibson yahoo com au>
- Cc: xml gnome org
- Subject: Re: [xml] XML beginner's question
- Date: Tue, 18 Nov 2008 17:41:28 +0100 (CET)
On Tue, November 18, 2008 1:09 pm, Callum Gibson wrote:
> On 18Nov08 12:24, Andrew M. wrote:
> }Code runs fine without printf(), so I am supposing xmlNodeListGetString()
> }might be failing. Any suggestions?
>
> cur is uninitialised in main() at the following line:
>
> cur = cur->xmlChildrenNode;
>
> You probably mean doc->children (or doc->xmlRootNode if you're going to
> use
> the old libxml1 compat calls) or better still, call
> xmlDocGetRootElement().
>
Thanks, that solved it.
Unfortunately I have another question (which may be very very stupid :D ):
how do I cast a xmlChar to a float?
Andrew M.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]