<xh:head>
        <xh:title>Un PDF llarg per veure com queda</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>
                    <section-2>
                        <grid-2>
                            <control-1/>
                            <control-2/>
                            <control-3/>
                            <control-4/>
                            <control-5/>
                            <control-6/>
                            <control-7/>
                            <control-8/>
                            <control-9/>
                            <control-10/>
                            <control-11/>
                            <control-12/>
                            <control-13/>
                            <control-14/>
                            <control-15/>
                            <control-16/>
                            <control-17/>
                            <control-18/>
                            <control-19/>
                            <control-20/>
                            <control-21/>
                            <control-22/>
                            <control-23/>
                            <control-24/>
                            <control-25/>
                            <control-26/>
                            <control-27/>
                            <control-28/>
                            <control-29/>
                            <control-30/>
                            <control-31/>
                            <control-32/>
                            <control-33/>
                        </grid-2>
                    </section-2>
                    <section-1>
                        <grid-1>
                            <control-4/>
                            <control-5/>
                            <control-2/>
                            <control-1/>
                            <control-3/>
                        </grid-1>
                       Â
                    </section-1>
                </form>
            </xf:instance>
            <!-- Bindings -->
            <xf:bind id="fr-form-binds" ref="instance('fr-form-instance')">
                <xf:bind id="section-2-bind" ref="section-2" name="section-2"/>
                <xf:bind id="section-1-bind" name="section-1" ref="section-1">
                    <xf:bind id="grid-1-bind" ref="grid-1" name="grid-1">
                        <xf:bind id="control-2-bind" ref="control-2" name="control-2"/>
                        <xf:bind id="control-1-bind" ref="control-1" name="control-1"/>
                        <xf:bind id="control-3-bind" ref="control-3" name="control-3"/>
                        <xf:bind id="control-4-bind" ref="control-4" name="control-4" xxf:whitespace="trim"/>
                        <xf:bind id="control-5-bind" ref="control-5" name="control-5" 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>Proves</application-name>
                    <form-name>PDFllarg</form-name>
                    <title xml:lang="en">Un PDF llarg per veure com queda</title>
                    <description xml:lang="en"/>
                    <created-with-version>2019.2.0.201912301747 CE</created-with-version>
                    <library-versions>
                        <orbeon>1</orbeon>
                        <app>1</app>
                    </library-versions>
                    <rendered-page-orientation>portrait</rendered-page-orientation>
                    <rendered-page-size>a4</rendered-page-size>
                </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-4>
                            <label>Camp per descuadrar</label>
                            <hint/>
                        </control-4>
                        <control-5>
                            <label>Camp per descuadrar 2</label>
                            <hint/>
                        </control-5>
                        <control-2>
                            <label>Opció 1</label>
                            <hint/>
                            <item>
                                <label>First choice</label>
                                <hint/>
                                <value>1</value>
                            </item>
                            <item>
                                <label>Second choice</label>
                                <hint/>
                                <value>2</value>
                            </item>
                            <item>
                                <label>Third choice</label>
                                <hint/>
                                <value>3</value>
                            </item>
                            <item>
                                <label>4</label>
                                <hint/>
                                <value>4</value>
                            </item>
                        </control-2>
                        <control-1>
                            <label>Opció 2</label>
                            <hint/>
                            <item>
                                <label>First choice</label>
                                <value>1</value>
                                <hint/>
                            </item>
                            <item>
                                <label>Second choice</label>
                                <value>2</value>
                                <hint/>
                            </item>
                            <item>
                                <label>Third choice</label>
                                <value>3</value>
                                <hint/>
                            </item>
                        </control-1>
                        <control-3>
                            <label>Opció 3</label>
                            <hint/>
                            <item>
                                <label>First choice</label>
                                <value>1</value>
                                <hint/>
                            </item>
                            <item>
                                <label>Second choice</label>
                                <value>2</value>
                                <hint/>
                            </item>
                            <item>
                                <label>Third choice</label>
                                <value>3</value>
                                <hint/>
                            </item>
                        </control-3>
                        <section-2>
                            <label>Interessat</label>
                            <help/>
                        </section-2>
                        <section-1>
                            <label>Descuadra</label>
                        </section-1>
                       Â
                    </resource>
                </resources>
            </xf:instance>
        </xf:model>
    </xh:head>
    <xh:body>
        <fr:view>
                <fr:section id="section-2-section" bind="section-2-bind">
                    <xf:label ref="$form-resources/section-2/label"/>
                                                   xmlns:frf="java:org.orbeon.oxf.fr.FormRunner"
                                                   xmlns:fbf="java:org.orbeon.oxf.fb.FormBuilderXPathApi"/>
                </fr:section>
                <fr:section id="section-1-section" bind="section-1-bind">
                    <xf:label ref="$form-resources/section-1/label"/>
                    <fr:grid id="grid-1-grid" bind="grid-1-bind">
                        <fr:c x="1" y="1" w="12">
                            <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="1" y="2" w="12">
                            <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 y="3" x="1" w="12">
                            <xf:select1 id="control-2-control" appearance="full" 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:itemset ref="$form-resources/control-2/item">
                                    <xf:label ref="label"/>
                                    <xf:value ref="value"/>
                                    <xf:hint ref="hint"/>
                                </xf:itemset>
                            </xf:select1>
                               Â
                            </fr:c>
                        <fr:c x="1" y="4" w="12">
                            <xf:select1 id="control-1-control" appearance="full" 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:itemset ref="$form-resources/control-1/item">
                                    <xf:label ref="label"/>
                                    <xf:value ref="value"/>
                                    <xf:hint ref="hint"/>
                                </xf:itemset>
                            </xf:select1>
                        </fr:c>
                        <fr:c x="1" y="5" w="12">
                            <xf:select1 id="control-3-control" appearance="full" 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:itemset ref="$form-resources/control-3/item">
                                    <xf:label ref="label"/>
                                    <xf:value ref="value"/>
                                    <xf:hint ref="hint"/>
                                </xf:itemset>
                            </xf:select1>
                        </fr:c>
                        <fr:c x="1" y="6" w="12"/>
                    </fr:grid>
                </fr:section>
            </fr:body>
        </fr:view>
    </xh:body>
</xh:html>