}
public Node parse( String pXML, String... pNS ) throws Exception {
InputStream is = new ByteArrayInputStream( pXML.getBytes() );
XmlNodeParser xnp = new XmlNodeParser();
for( int nsI = 0; nsI < pNS.length; nsI+=2) {
xnp.addNamespaceType(pNS[nsI], pNS[nsI+1]);
}
Node root = xnp.parse(is, "test");
return root;
}