You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Johannes Echterhoff <Jo...@gmx.de> on 2007/09/04 18:18:52 UTC

wanted: namespace prefix

Hello everybody.

I just ran into the same problem that has been reported on this list on 
30.Aug.2005 (subject: 'namespace prefix problem') - I could not find a 
response to that email so I am asking again.

I am trying to create an xupdate String out of an XmlObject's DOM Node, 
and for that I need to know the prefixes of element and attribute names 
which have been set in the schema file. However, the Node.getPrefix() 
method returns an empty string for my elements and attributes.

Is there a way to find out which prefix has been assigned to a specific 
namespace in the schema of an XmlObject?

Best regards,
    Johannes

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org