<htmlxmlns="http://www.w3.org/1999/xhtml"xmlns:xf="http://www.w3.org/2002/xforms"xmlns:ev="http://www.w3.org/2001/xml-events"xmlns:xs="http://www.w3.org/2001/XMLSchema"><head><title>Example of binding to inputs and output ids</title><xf:modelid="model"><xf:instanceid="input"><Dataxmlns=""><InputValueOne>3</InputValueOne><InputValueTwo>3</InputValueTwo></Data></xf:instance><!-- make the inputs data types be integers --><xf:bindid="input-one-bind"nodeset="/Data/InputValueOne"type="xs:integer"/><xf:bindid="input-two-bind"nodeset="/Data/InputValueTwo"type="xs:integer"/><!-- second instance bound to outputs --><xf:instanceid="output"><DataOutxmlns=""><OutputValue>9</OutputValue></DataOut></xf:instance><!-- Make the output be an integer that is the the product of the inputs --><xf:bindid="output-bind"nodeset="instance('output')/OutputValue"calculate="instance('input')/InputValueOne * instance('input')/InputValueTwo"type="xs:integer"/></xf:model></head><body><p><xf:rangebind="input-one-bind"start="1"end="5"step="1"incremental="true"><xf:label>Input: </xf:label></xf:range><br/><xf:rangebind="input-two-bind"start="1"end="5"step="1"incremental="true"><xf:label>Input: </xf:label></xf:range><br/><xf:outputbind="input-one-bind"/> * <xf:outputbind="input-two-bind"/> =
<xf:outputbind="output-bind"/></p></body></html>