Navigating through XmlObject with cursor

2007-08-01 Thread Asaf Lahav
Trying to navigate through an XmlObject using a cursor I've come up with the following code: 1) XmlObject xyzDocument = XmlObject.Factory.parse(new File(c:/xyz.xml)); 2) System.out.println(xyzDocument); 3) XmlCursor cursor = xyzDocument.newCursor(); 4) if(cursor.toFirstChild()) {

FW: Navigating through XmlObject with cursor

2007-08-01 Thread Asaf Lahav
and not in the xml-fragment element, how can I get to it? Thanks in advance, Asaf _ From: Asaf Lahav [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 7:13 PM To: 'user@xmlbeans.apache.org' Subject: Navigating through XmlObject with cursor Trying to navigate through