Hi all,

using the UNO com.sun.star.xml.xpath stuff, I have navigate to a com.sun.star.xml.dom.XElement e representing the OpenOffice.org-minimal-version element within the XML document

---8<---
<?xml version="1.0" encoding="UTF-8"?>
<description xmlns="http://openoffice.org/extensions/description/2006";
    xmlns:d="http://openoffice.org/extensions/description/2006";>
  <dependencies>
    <OpenOffice.org-minimal-version value="2.1"
        d:name="OpenOffice.org 2.1"/>
  </dependencies>
</description>
---8<---

What makes me wonder is that e.getLocalName() is empty when I retrieve the data I need (and I would expect it to be "OpenOffice.org-minimal-version" instead):

e.getNamespaceURI(): "http://openoffice.org/extensions/description/2006";
e.getLocalName(): ""
e.getAttribute("value"): "2.1"

Any hints what is going wrong?

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to