The fm:set-out command takes the following syntax: -
<fm:set-out match=”XPath” namespace:mode=”XPath” [namespace:attribute=”attribute-value”, namespace2:attribute=”attribute-value”, ...] />
The match attribute tells FOX what elements to set out on the screen. The namespace:mode attribute tells FOX which of the elements within the scope of the XPath should be displayed and when.
You will notice how the simple type elements TEXTAREA_AUTO_RESIZE has a restriction on it of xs:string . This facet tells FOX what type of data to expect which assists FOX when it sets out the field to the screen to make sure it is the right size.
If you do not define a Data Length, then FOX will generate a Field Width of 80 and a Height of 5 by default, however you can override this with a fox:fieldMaxWidth or fox:fieldMaxHeight.
Fox:widget determines the type of widget to enter/display the data for each field. The widgets correspond to HTML <input> types. So “input-resizable” corresponds to a text box that resizes as the user enters text into it.