Skip to content

@orbeon /gist:401939
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<head>
<xforms:model id="model1">
<xforms:instance xmlns="">
<employees>
<employee>Joe</employee>
</employees>
</xforms:instance>
</xforms:model>
<xforms:model id="model2">
<xforms:instance xmlns="">
<fruits>
<fruit>banana</fruit>
</fruits>
</xforms:instance>
<xforms:bind ref="." id="my-fruits">
<xforms:bind ref="fruit" id="my-banana"/>
</xforms:bind>
</xforms:model>
</head>
<body>
<xforms:group ref="employee">
<xforms:group bind="my-banana">
<!-- Should this show: "Joe" or "banana" ? -->
<xforms:output model="model1" ref="."/>
</xforms:group>
</xforms:group>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.