RE: How to select the root element

2007-10-05 Thread Cezar Andrei
contentOfTopLevelElement = xc.getObject(); Cezar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 04, 2007 10:31 AM To: user@xmlbeans.apache.org Subject: How to select the root element Hi all, I need to select the root element from a xml

How to select the root element

2007-10-04 Thread Patrizio.Ferlito
Hi all, I need to select the root element from a xml document but without knowing its structure. XmlObject[] elems = document.selectPath(...); I would like to know how to execute a statement like document.getRootElement(). How can I do that ? Regards ferp IMPORTANT: This e-mail transmission