| <?xml version="1.0" encoding="UTF-8"?> |
| <document xmlns:xf="http://apache.org/cocoon/jxforms/1.0"> |
| <header> |
| <title>JXForms: Calculator</title> |
| <tab href=".." title="Back"/> |
| </header> |
| <body> |
| <section> |
| <xf:form id="form-feedback" view="confirm"> |
| <xf:label>Confirm Input</xf:label> |
| <!-- from page1 --> |
| <xf:output ref="firstName"> |
| <xf:label>First Name</xf:label> |
| </xf:output> |
| <xf:output ref="lastName"> |
| <xf:label>Last Name</xf:label> |
| </xf:output> |
| <xf:output ref="email"> |
| <xf:label>Email</xf:label> |
| </xf:output> |
| <xf:output ref="age"> |
| <xf:label>Age</xf:label> |
| <xf:violations class="error"/> |
| </xf:output> |
| <xf:group ref="/"> |
| <xf:label>Professional roles</xf:label> |
| <xf:repeat nodeset="role"> |
| <xf:output ref="."/> |
| </xf:repeat> |
| </xf:group> |
| <xf:group ref="/"> |
| <xf:label>Personal hobbies</xf:label> |
| <xf:repeat nodeset="hobby"> |
| <xf:output ref="."/> |
| </xf:repeat> |
| </xf:group> |
| <xf:output ref="hidden"> |
| <xf:label>Hidden attribute</xf:label> |
| </xf:output> |
| <!-- from page2 --> |
| <xf:output ref="number"> |
| <xf:label>Number of installations</xf:label> |
| </xf:output> |
| <xf:output ref="liveUrl"> |
| <xf:label>Live URL</xf:label> |
| </xf:output> |
| <xf:output ref="publish"> |
| <xf:label>Publish URL</xf:label> |
| </xf:output> |
| <!-- from page3 --> |
| <xf:output ref="system/os"> |
| <xf:label>OS</xf:label> |
| </xf:output> |
| <xf:output ref="system/processor"> |
| <xf:label>Processor</xf:label> |
| </xf:output> |
| <xf:output ref="system/@ram"> |
| <xf:label>RAM</xf:label> |
| </xf:output> |
| <xf:output ref="system/servletEngine"> |
| <xf:label>Servlet Engine</xf:label> |
| </xf:output> |
| <xf:output ref="system/javaVersion"> |
| <xf:label>Java Version</xf:label> |
| </xf:output> |
| <xf:group id="favorites_group" ref="/"> |
| <xf:label>Favorite web sites</xf:label> |
| <xf:repeat id="favorites" nodeset="favorite[position() <= 3]"> |
| <xf:output class="info" ref="."> |
| <xf:label>URL: </xf:label> |
| </xf:output> |
| </xf:repeat> |
| </xf:group> |
| <!-- submit --> |
| <xf:submit class="button" continuation="back" id="prev"> |
| <xf:label>Prev</xf:label> |
| <xf:hint>Go to previous page</xf:hint> |
| </xf:submit> |
| <xf:submit class="button" continuation="forward" id="next"> |
| <xf:label>Finish</xf:label> |
| <xf:hint>Finish the wizard</xf:hint> |
| </xf:submit> |
| </xf:form> |
| <xf:output class="info" form="form-feedback" id="show_count" ref="count"> |
| <xf:label>Visits Count</xf:label> |
| </xf:output> |
| </section> |
| </body> |
| </document> |