Created
May 15, 2010 02:09
-
-
Save orbeon/401939 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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