Understand XFORM - learn IBM DW

xiaoxiao2021-03-06  49

1, XFORM - Next Generator language, has become a candidate standard for W3C

2. Separate the page performance with the model - need to predefine XForm Instance in XForm, the data structure of the form, the page performance section is referenced by XPath. Such as:

username: Password: Log in

3. In the HTML page, multiple selection forms can be used: radio button, check box, select box, and drop-down menu. All of this is useful, but because of the HTML structure, once the coding is completed, it will never go back: the radio button will always be a radio button, the drop-down menu is always a drop-down menu.

XForms is trying to correct this problem by establishing SELECT and SELECT1 element. These elements are the same as the SELECT element in HTML, and also have a list of options. However, with HTML is that the tag does not include, XForms allows developers to specify the type of representation to use simply by a property: Each SELECT or SELECT1 element has its own Label, and each individual item has yourself Label and value. The value of the value is the information truly submitted to the form. Also note that the XML structure of these elements is the same, where only the APPEARANCE value changes. The value of the Appearance can be: FULL (depending on the use of select or select1, similar to the check box or radio button). Minimal (similar to the list box). Compact (similar to the drop-down menu). Such as: ...

soaps

Qty: Flavor Plain P Four Sage FS < / XForms: Items: Items> Sweet Grass SG < XForms: label> Total:

转载请注明原文地址:https://www.9cbs.com/read-116830.html

New Post(0)