Both of these examples assume that parent01 has a text value if it exists at all. You may need to check for an empty node too.
To get an Attribute value you can use:
code:
String inoid = myElement.getAttribute("ino:id");
By the way, a TaminoResult object already implements java.util.Enumeration so you can invoke hasMoreElements() and nextElement() directly on the TaminoResult object. But if you execute getNextElement()instead, you get back an Element (you don't have to cast it from Object).
[This message was edited by Bill Leeney on 29 Nov 2001 at 09:34.]
[This message was edited by Bill Leeney on 29 Nov 2001 at 09:49.]