[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] xmlParseFile and xmlns
- From: Boz <boz boz org uk>
- To: Juhani Connolly <Juhani ninja co jp>
- Cc: xml gnome org
- Subject: Re: [xml] xmlParseFile and xmlns
- Date: Wed, 22 Apr 2009 10:32:07 +0100
On Wed, Apr 22, 2009 at 9:49 AM, Juhani Connolly <Juhani ninja co jp> wrote:
> When using xmllib to parse an rss feed that includes an unquallified xml
> namespace the document will include nothing.
> Are we meant to be doing something special before calling xmlParseFile (or
> another similar function)?
As per Michael Ludwig's post, you need to register the namespace,
since the element "item" is now in the Atom namespace
These two links should help:
http://bobcat.webappcabaret.net/javachina/faq/xpath_01.htm#xpath_Q16
http://www.xmlsoft.org/examples/index.html#xpath1.c
Boz
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]