Pat, I'm assuming you want to find out the java name for a corresponding to the top level element name of a document, if that is the case first you have to find the SchemaType describing that document type XMLBeans.findDocumentType(QName topLevelElementName) (or XMLBeans.findType(QName) if you have the qname of a type), and than call sType.getJavaName() to find out the name of the interface.
Cezar > -----Original Message----- > From: pat [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 22, 2006 5:49 AM > To: user@xmlbeans.apache.org > Subject: QName to package > > Hi, > > I need to convert QName to java package name. I've go through the > classes, but I cannot find some conversion method. Is there a such > method for conversion QName to java package ??? > > Thanks > > Pat > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]