topical media & game development

talk show tell print

professional-xml-23-syntax-datatypeaware.xml / xml



  <?xml version="1.0" encoding="UTF-8"?>
  <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:xf="http://www.w3.org/2002/xforms"
    xmlns:ex="someURI"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <head>
      <title>Datatype-aware controls</title>
      <xf:model>
        <xf:instance>
          <ex:report>
            <ex:startDate xsi:type="xs:date"/>
            <ex:endDate xsi:type="xs:date" />
          </ex:report>
        </xf:instance>
      </xf:model>
    </head>
    <body>
      <p>
          <xf:input ref="ex:startDate">
            <xf:label>Start Date: </xf:label>
          </xf:input>
          <xf:input ref="ex:endDate">
            <xf:label>End Date: </xf:label>
          </xf:input>
      </p>
    </body>
  </html>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.