The digest() function is meant to work on a string. [1]
When you pass an element to the function, XPath converts the argument
to a string, by taking the string value of the node. The string value
only looks at text nodes, so changing the attributes doesn't change
the value that is digested.
What you probably want to do is first serialize the instance to text.
Something like:
<xforms:output value="digest(xxforms:serialize(instance('test'),
'xml'),'MD5','hex')"/>
-Erik
[1]
http://www.w3.org/TR/xforms/#fn-digestOn Wed, May 2, 2012 at 1:09 PM, SD <
[hidden email]> wrote:
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws