Hi, You can use this API: anXmlObjectInstance.schemaType().isDocumentType();
On Nov 10, 2007 11:41 PM, Jan Torben Heuer <[EMAIL PROTECTED]> wrote: > Gustavo Aquino wrote: > > > You need to use Document object to transform xml and not part of them > > > > If your xobj is not one xptoDocument where xpto is your element root > > name, the xml genereted will have fragment name in root element. > > is there a flag or an interface for xobjDocument Classes? > > I'd like to perform checks if an xmlobject will be a document. > > > Jan > > > > --------------------------------------------------------------------- > 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]