Created
January 22, 2020 23:20
-
-
Save ebruchez/1e61082c76c27a48aa48daec00d8b38e to your computer and use it in GitHub Desktop.
Form for issue #4211
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
<xh:html xmlns:xh="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:ev="http://www.w3.org/2001/xml-events" | |
xmlns:xi="http://www.w3.org/2001/XInclude" | |
xmlns:xxi="http://orbeon.org/oxf/xml/xinclude" | |
xmlns:xxf="http://orbeon.org/oxf/xml/xforms" | |
xmlns:map="http://www.w3.org/2005/xpath-functions/map" | |
xmlns:array="http://www.w3.org/2005/xpath-functions/array" | |
xmlns:exf="http://www.exforms.org/exf/1-0" | |
xmlns:fr="http://orbeon.org/oxf/xml/form-runner" | |
xmlns:saxon="http://saxon.sf.net/" | |
xmlns:sql="http://orbeon.org/oxf/xml/sql" | |
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" | |
xmlns:fb="http://orbeon.org/oxf/xml/form-builder"> | |
<xh:head> | |
<xh:title>Untitled Form</xh:title> | |
<xf:model id="fr-form-model" xxf:expose-xpath-types="true" xxf:analysis.calculate="true"> | |
<!-- Main instance --> | |
<xf:instance id="fr-form-instance" xxf:exclude-result-prefixes="#all" xxf:index="id"> | |
<form> | |
<s1> | |
<g1> | |
<control-1/> | |
<show/> | |
</g1> | |
<s11> | |
<g11> | |
<control-2/> | |
</g11> | |
</s11> | |
<s12> | |
<g12> | |
<control-3/> | |
</g12> | |
</s12> | |
</s1> | |
<s2> | |
<g2a> | |
<control-4/> | |
</g2a> | |
<s21> | |
<g21> | |
<control-5/> | |
</g21> | |
</s21> | |
<g2b> | |
<control-7/> | |
</g2b> | |
</s2> | |
<s3> | |
<g3> | |
<control-6/> | |
</g3> | |
</s3> | |
</form> | |
</xf:instance> | |
<!-- Bindings --> | |
<xf:bind id="fr-form-binds" ref="instance('fr-form-instance')"> | |
<xf:bind id="s1-bind" name="s1" ref="s1"> | |
<xf:bind id="g1-bind" ref="g1" name="g1"> | |
<xf:bind id="control-1-bind" name="control-1" ref="control-1" xxf:whitespace="trim"/> | |
<xf:bind id="show-bind" ref="show" name="show"/> | |
</xf:bind> | |
<xf:bind id="s11-bind" ref="s11" name="s11" relevant="xxf:split($show) = 's11'"> | |
<xf:bind id="g11-bind" ref="g11" name="g11" relevant="xxf:split($show) = 'g11'"> | |
<xf:bind id="control-2-bind" name="control-2" ref="control-2" xxf:whitespace="trim"/> | |
</xf:bind> | |
</xf:bind> | |
<xf:bind id="s12-bind" ref="s12" name="s12" relevant="xxf:split($show) = 's12'"> | |
<xf:bind id="g12-bind" ref="g12" name="g12" relevant="xxf:split($show) = 'g12'"> | |
<xf:bind id="control-3-bind" name="control-3" ref="control-3" xxf:whitespace="trim"/> | |
</xf:bind> | |
</xf:bind> | |
</xf:bind> | |
<xf:bind id="s2-bind" ref="s2" name="s2" relevant="xxf:split($show) = 's2'"> | |
<xf:bind id="g2a-bind" ref="g2a" name="g2a" relevant="xxf:split($show) = 'g2a'"> | |
<xf:bind id="control-4-bind" name="control-4" ref="control-4" xxf:whitespace="trim"/> | |
</xf:bind> | |
<xf:bind id="s21-bind" ref="s21" name="s21" relevant="xxf:split($show) = 's21'"> | |
<xf:bind id="g21-bind" ref="g21" name="g21" relevant="xxf:split($show) = 'g21'"> | |
<xf:bind id="control-5-bind" name="control-5" ref="control-5" xxf:whitespace="trim"/> | |
</xf:bind> | |
</xf:bind> | |
<xf:bind id="g2b-bind" ref="g2b" name="g2b" relevant="xxf:split($show) = 'g2b'"> | |
<xf:bind id="control-7-bind" name="control-7" ref="control-7" xxf:whitespace="trim"/> | |
</xf:bind> | |
</xf:bind> | |
<xf:bind id="s3-bind" ref="s3" name="s3" relevant="xxf:split($show) = 's3'"> | |
<xf:bind id="g3-bind" ref="g3" name="g3" relevant="xxf:split($show) = 'g3'"> | |
<xf:bind id="control-6-bind" name="control-6" ref="control-6" xxf:whitespace="trim"/> | |
</xf:bind> | |
</xf:bind> | |
</xf:bind> | |
<!-- Metadata --> | |
<xf:instance id="fr-form-metadata" xxf:readonly="true" xxf:exclude-result-prefixes="#all"> | |
<metadata> | |
<application-name>issue</application-name> | |
<form-name>4211</form-name> | |
<title xml:lang="en">Untitled Form</title> | |
<description xml:lang="en"/> | |
<created-with-version>2019.1-SNAPSHOT PE</created-with-version> | |
<wizard>true</wizard> | |
<wizard-mode>free</wizard-mode> | |
<wizard-subsections-nav>true</wizard-subsections-nav> | |
<wizard-subsections-toc>all</wizard-subsections-toc> | |
</metadata> | |
</xf:instance> | |
<!-- Attachments --> | |
<xf:instance id="fr-form-attachments" xxf:exclude-result-prefixes="#all"> | |
<attachments/> | |
</xf:instance> | |
<!-- All form resources --> | |
<xf:instance xxf:readonly="true" id="fr-form-resources" xxf:exclude-result-prefixes="#all"> | |
<resources> | |
<resource xml:lang="en"> | |
<control-7> | |
<label>c4b</label> | |
<hint/> | |
<alert/> | |
</control-7> | |
<control-6> | |
<label>c6</label> | |
<hint/> | |
<alert/> | |
</control-6> | |
<control-5> | |
<label>c5</label> | |
<hint/> | |
<alert/> | |
</control-5> | |
<control-4> | |
<label>c4a</label> | |
<hint/> | |
<alert/> | |
</control-4> | |
<control-3> | |
<label>c3</label> | |
<hint/> | |
<alert/> | |
</control-3> | |
<control-2> | |
<label>c2</label> | |
<hint/> | |
<alert/> | |
</control-2> | |
<s1> | |
<label>S1</label> | |
</s1> | |
<s2> | |
<label>S2</label> | |
</s2> | |
<s21> | |
<label>S2.1</label> | |
</s21> | |
<s3> | |
<label>S3</label> | |
</s3> | |
<control-1> | |
<label>c1</label> | |
<hint/> | |
<alert/> | |
</control-1> | |
<show> | |
<label>Show</label> | |
<hint/> | |
<item> | |
<label>S11</label> | |
<hint/> | |
<value>s11</value> | |
</item> | |
<item> | |
<label>G11</label> | |
<hint/> | |
<value>g11</value> | |
</item> | |
<item> | |
<label>S2</label> | |
<hint/> | |
<value>s2</value> | |
</item> | |
<item> | |
<label>G2A</label> | |
<hint/> | |
<value>g2a</value> | |
</item> | |
<item> | |
<label>S21</label> | |
<hint/> | |
<value>s21</value> | |
</item> | |
<item> | |
<label>G2B</label> | |
<hint/> | |
<value>g2b</value> | |
</item> | |
<item> | |
<label>G21</label> | |
<hint/> | |
<value>g21</value> | |
</item> | |
<item> | |
<label>S3</label> | |
<hint/> | |
<value>s3</value> | |
</item> | |
<item> | |
<label>G3</label> | |
<hint/> | |
<value>g3</value> | |
</item> | |
</show> | |
<s11> | |
<label>S1.1</label> | |
</s11> | |
<s12> | |
<label>S1.2</label> | |
</s12> | |
</resource> | |
</resources> | |
</xf:instance> | |
</xf:model> | |
</xh:head> | |
<xh:body> | |
<fr:view> | |
<fr:body xmlns:xbl="http://www.w3.org/ns/xbl" xmlns:p="http://www.orbeon.com/oxf/pipeline" | |
xmlns:oxf="http://www.orbeon.com/oxf/processors"> | |
<fr:section id="s1-section" bind="s1-bind"> | |
<xf:label ref="$form-resources/s1/label"/> | |
<fr:grid id="g1-grid" bind="g1-bind"> | |
<fr:c y="1" x="1" w="6"> | |
<xf:input id="control-1-control" bind="control-1-bind"> | |
<xf:label ref="$form-resources/control-1/label"/> | |
<xf:hint ref="$form-resources/control-1/hint"/> | |
<xf:alert ref="$fr-resources/detail/labels/alert"/> | |
</xf:input> | |
</fr:c> | |
<fr:c y="1" x="7" w="6"/> | |
<fr:c x="1" y="2" w="6"> | |
<xf:select id="show-control" appearance="full" bind="show-bind"> | |
<xf:label ref="$form-resources/show/label"/> | |
<xf:hint ref="$form-resources/show/hint"/> | |
<xf:alert ref="$fr-resources/detail/labels/alert"/> | |
<xf:itemset ref="$form-resources/show/item"> | |
<xf:label ref="label"/> | |
<xf:value ref="value"/> | |
<xf:hint ref="hint"/> | |
</xf:itemset> | |
</xf:select> | |
</fr:c> | |
<fr:c x="7" y="2" w="6"/> | |
</fr:grid> | |
<fr:section id="s11-section" bind="s11-bind"> | |
<xf:label ref="$form-resources/s11/label"/> | |
<fr:grid id="g11-grid" bind="g11-bind"> | |
<fr:c x="1" y="1" w="6"> | |
<xf:input id="control-2-control" bind="control-2-bind"> | |
<xf:label ref="$form-resources/control-2/label"/> | |
<xf:hint ref="$form-resources/control-2/hint"/> | |
<xf:alert ref="$fr-resources/detail/labels/alert"/> | |
</xf:input> | |
</fr:c> | |
<fr:c x="7" y="1" w="6"/> | |
</fr:grid> | |
</fr:section> | |
<fr:section id="s12-section" bind="s12-bind"> | |
<xf:label ref="$form-resources/s12/label"/> | |
<fr:grid id="g12-grid" bind="g12-bind"> | |
<fr:c x="1" y="1" w="6"> | |
<xf:input id="control-3-control" bind="control-3-bind"> | |
<xf:label ref="$form-resources/control-3/label"/> | |
<xf:hint ref="$form-resources/control-3/hint"/> | |
<xf:alert ref="$fr-resources/detail/labels/alert"/> | |
</xf:input> | |
</fr:c> | |
<fr:c x="7" y="1" w="6"/> | |
</fr:grid> | |
</fr:section> | |
</fr:section> | |
<fr:section id="s2-section" bind="s2-bind"> | |
<xf:label ref="$form-resources/s2/label"/> | |
<fr:grid id="g2a-grid" bind="g2a-bind"> | |
<fr:c x="1" y="1" w="6"> | |
<xf:input id="control-4-control" bind="control-4-bind"> | |
<xf:label ref="$form-resources/control-4/label"/> | |
<xf:hint ref="$form-resources/control-4/hint"/> | |
<xf:alert ref="$fr-resources/detail/labels/alert"/> | |
</xf:input> | |
</fr:c> | |
<fr:c x="7" y="1" w="6"/> | |
</fr:grid> | |
<fr:section id="s21-section" bind="s21-bind"> | |
<xf:label ref="$form-resources/s21/label"/> | |
<fr:grid id="g21-grid" bind="g21-bind"> | |
<fr:c x="1" y="1" w="6"> | |
<xf:input id="control-5-control" bind="control-5-bind"> | |
<xf:label ref="$form-resources/control-5/label"/> | |
<xf:hint ref="$form-resources/control-5/hint"/> | |
<xf:alert ref="$fr-resources/detail/labels/alert"/> | |
</xf:input> | |
</fr:c> | |
<fr:c x="7" y="1" w="6"/> | |
</fr:grid> | |
</fr:section> | |
<fr:grid id="g2b-grid" bind="g2b-bind"> | |
<fr:c x="1" y="1" w="6"> | |
<xf:input id="control-7-control" bind="control-7-bind"> | |
<xf:label ref="$form-resources/control-7/label"/> | |
<xf:hint ref="$form-resources/control-7/hint"/> | |
<xf:alert ref="$fr-resources/detail/labels/alert"/> | |
</xf:input> | |
</fr:c> | |
<fr:c x="7" y="1" w="6"/> | |
</fr:grid> | |
</fr:section> | |
<fr:section id="s3-section" bind="s3-bind"> | |
<xf:label ref="$form-resources/s3/label"/> | |
<fr:grid id="g3-grid" bind="g3-bind"> | |
<fr:c x="1" y="1" w="6"> | |
<xf:input id="control-6-control" bind="control-6-bind"> | |
<xf:label ref="$form-resources/control-6/label"/> | |
<xf:hint ref="$form-resources/control-6/hint"/> | |
<xf:alert ref="$fr-resources/detail/labels/alert"/> | |
</xf:input> | |
</fr:c> | |
<fr:c x="7" y="1" w="6"/> | |
</fr:grid> | |
</fr:section> | |
</fr:body> | |
</fr:view> | |
</xh:body> | |
</xh:html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment