Skip to content

Instantly share code, notes, and snippets.

@avernet
Created January 26, 2011 17:53
Show Gist options
  • Save avernet/797104 to your computer and use it in GitHub Desktop.
Save avernet/797104 to your computer and use it in GitHub Desktop.
<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xforms="http://www.w3.org/2002/xforms"
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:fr="http://orbeon.org/oxf/xml/form-runner">
<xhtml:head>
<xhtml:title>XForms Inspector update test case</xhtml:title>
<xforms:model>
<xforms:instance>
<instance>
<state>ca</state>
<state>co</state>
</instance>
</xforms:instance>
</xforms:model>
</xhtml:head>
<xhtml:body>
<fr:button>
<xforms:label>Add</xforms:label>
<xforms:insert ev:event="DOMActivate" context="." origin="xxforms:element('state')"/>
</fr:button>
<xforms:repeat ref="state">
<fr:us-state ref="."/>
</xforms:repeat>
</xhtml:body>
</xhtml:html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment