Hi Hendrik,
> For attributes it's another story. I can use getAttributeNodeNS to
> get an attribute by namespace. But if the namespace does not exist,
> it returns null. Also, using the wildcard is not possible. Is this
> by design / according to the specification? It's a tedious job to go
> over possible namespaces (that you sometimes even don't know beforehand).
>
This is according to the DOM specification[1]. You could try
Element.getAttributes()[2] which returns a NamedNodeMap of Attr nodes, but
not sure if that works for you.
Neil.
[1]
http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-ElGetAtNodeNS
[2]
http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-84CF096
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]