[xml] Determing element namespace prefix
- From: "Akarsha Kumar" <akikumar gmail com>
- To: xml gnome org
- Subject: [xml] Determing element namespace prefix
- Date: Tue, 2 Jan 2007 15:41:34 -0800
Hi,
Is there a straightforward way to determine if an element has a namespace prefix? For the following element:
<myns:Elem> some data </myns:Elem>
I would like to obtain the string "myns:Elem".
xmlNode.name simply returns "Elem" and I can't find an obvious way to get to the "myns" part as well.
Thanks,
Aki
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]