Extension functions

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