1<?xml version="1.0" encoding="ISO-8859-1"?> 2 3<update:modifications xmlns:update="http://www.xmldb.org/xupdate"> 4 <update:append select="//*[@attr2]"> 5 <update:attribute name="extra"> 6 <update:value-of select="@attr2"/><update:value-of select="' '"/>foo 7 </update:attribute> 8 </update:append> 9</update:modifications> 10