Forum Discussion
UNIZETO_TECHNOL_2
15 years agoOccasional Contributor
From the OnRequestScript:
XmlHolder requestHolder = new XmlHolder(mockRequest.getRequestContent());
// now i want to get the schema information on a particular node, eg. //id[1], i want to check if that field is optional in that request
Node n = requestHolder.getDomNode("//id[1]");
// and what to do now ?
XmlHolder requestHolder = new XmlHolder(mockRequest.getRequestContent());
// now i want to get the schema information on a particular node, eg. //id[1], i want to check if that field is optional in that request
Node n = requestHolder.getDomNode("//id[1]");
// and what to do now ?