- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Tue, 08 Nov 2016 11:54:20 +0100
- To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#Extension_Functions
I added an example.
<model functions="math:sin">
<instance>
<data xmlns="">
<length/>
<angle/>
<height/>
</data>
</instance>
<bind ref="length | angle | height" type="double"/>
<bind ref="height" calculate="../length * math:sin(../angle)"/>
</model>
Happy?
Steven
Received on Tuesday, 8 November 2016 10:54:53 UTC