Created
December 9, 2014 18:07
-
-
Save ebruchez/22eb411465dd3e6459eb to your computer and use it in GitHub Desktop.
Example showing an insert with xf:attribute()
This file contains hidden or 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
| <xh:html | |
| xmlns:xh="http://www.w3.org/1999/xhtml" | |
| xmlns:xf="http://www.w3.org/2002/xforms" | |
| xmlns:fr="http://orbeon.org/oxf/xml/form-runner"> | |
| <xh:head> | |
| <xf:model> | |
| <xf:instance> | |
| <form xmlns=""/> | |
| </xf:instance> | |
| </xf:model> | |
| </xh:head> | |
| <xh:body> | |
| <xf:trigger> | |
| <xf:label>Insert</xf:label> | |
| <xf:insert | |
| xmlns:foo="http://example.org/foo" | |
| event="DOMActivate" | |
| context="instance()" | |
| origin="xf:attribute('foo:uuid', '232D19C0-CC63-4C60-8E89-2C4B390C20D8')"/> | |
| </xf:trigger> | |
| <fr:xforms-inspector/> | |
| </xh:body> | |
| </xh:html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment