doc.setAdviceReq(req);
//get the pull parser and construct the OMElement
StAXOMBuilder builder = new StAXOMBuilder(
OMAbstractFactory.getOMFactory(),
new StreamWrapper(doc.newXMLStreamReader())
);
OMElement elt = builder.getDocumentElement();
//traverse the element and look at the namespace of the attribute
OMAttribute att =