The ElementXobj is wrapper object of the underlying xml element. When I perform 'getDomNode()' on xmlobject I get an object of such type which is an inner type (non-public).
Let's say I would like to implement implementation specific code. In which I would like to perform an 'instanceof' operator on a XmlBeans originated Node. What type should I check agains (since ElementXobj is non-public)? -----Original Message----- From: Jacob Danner [mailto:[EMAIL PROTECTED] Sent: Thursday, April 26, 2007 7:59 PM To: user@xmlbeans.apache.org Subject: Re: ElementXObj namespace & prefix I'm not sure what you mean by ElementXObj, but can't you do something like: ElementXObj.newCursor().namespaceForPrefix(prefix) or the opposite ElementXObj.newCursor().prefixForNamespace(namespaceURI) Or is that not what you are asking? There are several other ways this could be done as well. For example via DOM apis ElementXObj.getNewDomNode() ... Best of Luck, -Jacob Danner On 4/26/07, asaf.lahav <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > How can I resolve a namespace prefix when all I have is ElementXObj instance > (taken from a valid xmlObject)? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]