Tuesday, September 4, 2012

XForms for HTML Authors




Using HTML Forms if they really use XForms to change with the configuration that was created to catch a sense of the change that a few examples from the code level to introduce.

œ Sample I-1-1. Example of the HTML configuration
    <FORM action = http://example.com/search FONT <>
          method = "get">
         Find <INPUT name=q>
         <INPUT Type=submit value=Go>
    </ FORM>

What's XForm adapt to be changed? The most important difference is the separation that had been expressed in one Submit the Form object, for example, was expressed through objects and UI separation means. If you look at the code for the part of the technology in order to convert it to HTML-Form object XForm below will be faster.

 
               method = "get"
               id = "s" />


<INPUT Ref="q"> Find </ INPUT>
Go

œ Sample I-1-2. If you look at the full source converted as follows:
http://www.w3.org/1999/xhtml "
       xmlns = "http://www.w3.org/2002/xforms">

    Search
   
        http://example.com/search "
                    method = "get" id = "s" />
   


   
        <INPUT Ref="q"> Find </ INPUT>
       Go
   


Submit

One way through the HTML Form Submit one place on a particular server, but the XForm another server (Different Server) or in a variety of ways How to Submit Multiple Submission.


   ...
   http://example.com/search "
               method = "get" id = "com" />
   http://example.org/search "
               method = "get" id = "org" />

Search example.org
Search example.com


XForm for HTML Forms user guide how to convert a traditional HTML Form Forms Control, Types, etc. about what you need to introduce, but will be omitted.

No comments:

Post a Comment