This version adds the XPATHATTR command to operate on attributes of an XPATH expression nodeset rather than elements. For example:
XPATHATTR SET password //blah<TAB>1
would create the “password” attribute with a value of “1” for every “blah” element in the document. Use this to update your document for use with pwmdEdit and hidden text fields.
It also allows creating attributes with empty values and changes the return value of XPATH when the expression doens’t match any items to GPG_ERR_ELEMENT_NOT_FOUND.