ks if the returned {@link XMLNode} object by XMLNode.convertStringToXMLNode() is a dummy root node:String str = '...'; {@link XMLNode} xn = {@link XMLNode}.convertStringToXMLNode(str); if (xn == null) { // returned value is null (error) ... } else if ( xn.isEOF() ) { // root node is a dummy node for (int i=0; i < xn.getChildCount(); i++) { // access to each child node of the dummy node. {@link XMLNode} xnChild = xn.getChild(i);... } } else { // root node is NOT a dummy node ... }
@author Nicolas Rodriguez
@since 0.8
@version $Rev: 1533 $
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.