XML Form Documents (XForms)text/shared/guide/xforms.xhpUFI: XForms main guideweb documents;XFormsforms;XFormsXML Forms;guideXForms;guideXML Form Documents (XForms)XForms is the name for a specification of web forms, defined by the World Wide Web Consortium: http://www.w3.org/MarkUp/Forms/.Working with XFormsIn %PRODUCTNAME, an XForms document is basically a text document. When you open an XForms document, you see some additional toolbars and windows. As a designer of an Xforms document, you add controls, for example push buttons and list boxes, to the XForms document. Once you have created your XForms document, you switch off design mode and save the document. Any user who loads your XForms documents can then fill out the text boxes, click check boxes or radio buttons, and finally click a push button to submit the changes to a server.Within the XForms document, a data model resides which holds a data structure and optional data contents, coded as an XML (eXtensible Markup Language) file.What's the role of UBL?We do not officially support exporting to XHTML - but should be possible using XSLTTo create a new XForms documentChoose File - New - XML Form Document.You see the XForms toolbars and windows in an empty Writer document.Do one of the following:Insert a control, select the default model in the property browser, and enter a binding statement.In the data navigator, add an element to the instance.Load a new instance from an XML file and add controls to the relevant XML elements or attributes.To open an XForms documentChoose File - Open and select the XForms document. XForms documents have the same extension as Writer text documents (*.oot).To edit an XForms documentOpen the XForms document. You see the following toolbars and windows:Forms toolbarUFI: spec contemplates that we need three toolbars: Writer, Data base, XFormsControls toolbarUFI: in final state this is the same as Form Functions toolbar, with only available icons visibleData NavigatorForm NavigatorUFI: currently only StarOffice can render and evaluate our XForms docs. Mozilla has announced a planned support recently. There may be plugins for other browsers. Should we tell the user?