Hello all,Another issue I've run into is an inability to select by id. I have the following code, and the only one that works is the 2nd one which is iterative. I'm thinking the other two use an actual index.
public Node getById(String id){
//return root.selectSingleNode("id('"+id+"')");
return root.selectSingleNode("/descendant::[EMAIL PROTECTED]'"+id+"']");
//return root.elementByID(id);
}Attached is my xml file, which validates as an XHTML document. It's my understanding that the XHTML doctype defines "id" to be the unique identifier.
Thanks for any help, --Evan
HI!
