Info: Checking Document at: http://xformsinstitute.com/x04.xhtml
Info: xsl:id(dyndata) found 0 hits
Info: Matched IDREF to ID: <itemset> ==dyndata==> <model>
Validating island 0 (<model>) (line 51)
Info: Island 0 validated successfully (line 51)
Validating island 1 (<model>) (line 64)
Info: Island 1 validated successfully (line 64)
Validating island 2 (<select1>) (line 81)
Error! Island 2 failed validation with code 1 (line 81)
Validating island 3 (<input>) (line 89)
Error! Island 3 failed validation with code 1 (line 89)
Validating island 4 (<secret>) (line 93)
Error! Island 4 failed validation with code 1 (line 93)
Validating island 5 (<textarea>) (line 96)
Error! Island 5 failed validation with code 1 (line 96)
Validating island 6 (<range>) (line 100)
Error! Island 6 failed validation with code 1 (line 100)
Validating island 7 (<upload>) (line 104)
Error! Island 7 failed validation with code 1 (line 104)
Validating island 8 (<trigger>) (line 108)
Error! Island 8 failed validation with code 1 (line 108)
Validating island 9 (<group>) (line 113)
Info: Island 9 validated successfully (line 113)
Copyright 2004 Brain Attic. Comments, questions, or suggestions for improvement? Email us.
The following XML was processed to prepare this report:
0001: <?xml version="1.0" encoding="utf-8"?>
0002: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:my="http://example.info">
0003: <head>
0004: <title>XForms sample</title>
0005: <style type="text/css">
0006: body { padding: 1em; font-size: 8pt; font-family: Verdana, Arial, Helvetica, sans-serif; }
0007: label { margin: 0px 0px 2px -2px; font-weight: normal; }
0008: div.form {
0009: padding: 0.5em 1em 1em 1em;
0010: margin: 0.5em 1em 1em 1em;
0011: background-color: #ffffef;
0012: border: 2px outset white;
0013: }
0014: input::value, secret::value, textarea::value {
0015: padding: 2px;
0016: }
0017: ::value, ::choices {
0018: margin-bottom: 6px;
0019: background-color: #fefefe;
0020: color: #333;
0021: }
0022: ::choices {
0023: width: 50px;
0024: padding: 0 0 0 3;
0025: }
0026: output::value {
0027: margin: 0;
0028: color: black;
0029: background-color: transparent;
0030: }
0031: submit {
0032: width: 75px;
0033: background-color: #e4e4e4;
0034: padding: 1px;
0035: }
0036: submit label {
0037: font-weight: bold;
0038: padding: 1px;
0039: margin: 1px;
0040: }
0041: group {
0042: border: none;
0043: margin-top: 0;
0044: padding-top: 0;
0045: }
0046: span {
0047: font-family: "Courier New";
0048: font-size: 9pt;
0049: }
0050: </style>
0051: <xf:model>
0052: <xf:instance>
0053: <employee xmlns="http://example.info">
0054: <name title="Mr.">Roy G. Biv</name>
0055:
0056: <email>rgb@example.info</email>
0057: <password>Password</password>
0058: <address>711 S. Park St.</address>
0059: <whuffie>32</whuffie>
0060: <picture></picture>
0061: </employee>
0062: </xf:instance>
0063: </xf:model>
0064: <xf:model id="dyndata">
0065: <xf:instance>
0066: <dyndata xmlns="http://example.info">
0067: <titles>
0068: <title>Mr.</title>
0069: <title>Mrs.</title>
0070: </titles>
0071: </dyndata>
0072: </xf:instance>
0073:
0074: <xf:submission action="instance.xml" id="submit1" method="post" replace="instance" />
0075: </xf:model>
0076: </head>
0077:
0078: <body>
0079: <h5>Form controls in XForms</h5>
0080: <div class="form">
0081: <xf:select1 ref="/my:employee/my:name/@title">
0082: <xf:label>Title: <span><select1>, <itemset> (see source)</span></xf:label>
0083:
0084: <xf:itemset model="dyndata" nodeset="/my:dyndata/my:titles/my:title">
0085: <xf:label ref="text()" />
0086: <xf:value ref="text()" />
0087: </xf:itemset>
0088: </xf:select1>
0089: <xf:input ref="/my:employee/my:name">
0090: <xf:label>Name: <span><input></span></xf:label>
0091: </xf:input>
0092:
0093: <xf:secret ref="/my:employee/my:password">
0094: <xf:label>Password: <span><secret></span></xf:label>
0095: </xf:secret>
0096: <xf:textarea ref="/my:employee/my:address">
0097: <xf:label>Address: <span><textarea></span>, auto height, try newlines</xf:label>
0098: </xf:textarea>
0099:
0100: <xf:range ref="/my:employee/my:whuffie">
0101: <xf:label>Range: <span><range></span></xf:label>
0102: </xf:range>
0103:
0104: <xf:upload ref="/my:employee/my:picture">
0105: <xf:label>Picture: <span><upload></span></xf:label>
0106: </xf:upload>
0107:
0108: <xf:trigger>
0109: <xf:label>Push Me <span><trigger></span></xf:label>
0110: </xf:trigger>
0111: </div>
0112: <h5>Instance data:</h5>
0113: <xf:group ref="/my:employee">
0114: <xf:output ref="my:name/@title" />
0115: <xf:output ref="my:name" />
0116:
0117: <xf:output ref="my:password" />
0118: <xf:output ref="my:address" />
0119: </xf:group>
0120: </body>
0121: </html>