XSLTForms/HelloWorld

From Wikibooks, open books for an open world
Jump to: navigation, search
  <html xmlns= "http://www.w3.org/1999/xhtml"
  xmlns:xforms="http://www.w3.org/2002/01/xforms" 
  xmlns:my="http://www.example.com/my-data">
      <head> 
             <xforms:model> 
                    <xforms:instance>
                           <my:data>Hello World</my:data>
                    </xforms:instance>
             </xforms:model>
      </head>
      <body> 
         <xforms:group>
             <xforms:output ref="/my:data">
                 <xforms:label>Output Control Example</xforms:label>
             </xforms:output>
         </xforms:group>
      </body>
  </html>