<xf:delete> applies to all node types, not only elements. So you can also use it to remove attributes:
<xf:delete ref="foo/@bar">
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more