//System.out.println("JSTLXPathAPI.getNodeList thrown exception:"+ e);
Vector vector = new Vector();
Object resultObject = null;
if ( result.getType()== XObject.CLASS_BOOLEAN ) {
resultObject = new Boolean( result.bool());
} else if ( result.getType()== XObject.CLASS_NUMBER ) {
resultObject = new Double( result.num());
} else if ( result.getType()== XObject.CLASS_STRING ) {
resultObject = result.str();
}