Assume there's an XMLBeans XmlObject with attributes, how can I get selected attributes in single step? I'm expecting like something ....
XmlObject
removeAttributes(XmlObject obj, String[] selectableAttributes){};