0
votes

I know about xf:delete element which is used to delete a nodeset. However, I just want to delete some attributes. Is there a way to do it?

I am using XSLTForms as the XForms implementation.

1

1 Answers

1
votes

<xf:delete> applies to all node types, not only elements. So you can also use it to remove attributes:

<xf:delete ref="foo/@bar">