Hi,
Using JXPath 1.2, I am trying to retrieve all attributes of an XML element:
the element is something like <element xmlns:xlink="http://www.w3.org/1999/xlink" xlink:show="new" xlink:type="simple" id="0001" />
the xpath used is element/@*.
This however returns only the attribute 'id'. I tried to play around with the xpath (element/attribute::node() and other tests) but to no avail. I also tried to set the Namespace Context Pointer to different values (the element itself, its parent where the namespace URI was also declared...) but no changes.
Any help would be appreciated, I believe I am doing something wrong but can't figure it out...
Thanks,
JB.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
