libxml2
1: cd * 2: xpath //*[namespace-uri()="bar"] 3: set <b/> 4: xpath //*[namespace-uri()="bar"] 5: save -