Created
March 3, 2010 02:58
-
-
Save ebruchez/320259 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
<xhtml:html xmlns:xforms="http://www.w3.org/2002/xforms" | |
xmlns:xhtml="http://www.w3.org/1999/xhtml" | |
xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" | |
xmlns:ev="http://www.w3.org/2001/xml-events" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:xi="http://www.w3.org/2001/XInclude" | |
xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" | |
xmlns:xbl="http://www.w3.org/ns/xbl" | |
xmlns:exforms="http://www.exforms.org/exf/1-0" | |
xmlns:fr="http://orbeon.org/oxf/xml/form-runner"> | |
<xhtml:head> | |
<xforms:model id="model"> | |
<xforms:instance id="items"> | |
<items> | |
<item label="Apple" value="apple"/> | |
<item label="Orange" value="orange"/> | |
<item label="Banana" value="banana"/> | |
<item label="Kiwi" value="kiwi"/> | |
</items> | |
</xforms:instance> | |
</xforms:model> | |
</xhtml:head> | |
<xhtml:body> | |
<xforms:repeat nodeset="item"> | |
<xforms:input ref="@value" xxforms:size="10"/> | |
</xforms:repeat> | |
<xforms:trigger> | |
<xforms:label>Add</xforms:label> | |
<xforms:insert nodeset="item" ev:event="DOMActivate"/> | |
</xforms:trigger> | |
</xhtml:body> | |
</xhtml:html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment