| <?xml version="1.0"?> |
| <document> |
| <header> |
| <title>XMLForm: Calculator</title> |
| <tab title="Back" href=".."/> |
| </header> |
| <body> |
| <section> |
| <title>Result</title> |
| <xf:form id="calc" xmlns:xf="http://apache.org/cocoon/xmlform/1.0"> |
| <p> |
| a = <xf:output ref="numberA"/> |
| </p> |
| <p> |
| b = <xf:output ref="numberB"/> |
| </p> |
| <p> |
| operator = <xf:output ref="operator"/> |
| </p> |
| <p> |
| result = <xf:output ref="result"/> |
| </p> |
| <p> |
| <xf:submit id="prev" class="button"> |
| <xf:caption>Prev</xf:caption> |
| </xf:submit> |
| <xf:submit id="next" class="button"> |
| <xf:caption>Next</xf:caption> |
| </xf:submit> |
| </p> |
| </xf:form> |
| </section> |
| </body> |
| </document> |