[EMAIL PROTECTED] wrote:
How should I change the Xforms text control example to write user response also to the XML file? Can I parameterize the location and the name of this file depending on it's content?
To write an XML document to a file on disk, use the File serializer (see http://www.orbeon.com/oxf/doc/processors-serializers#N101D1). The information entered by the end-user is stores in the XForms instance. In the XForms Text Controls example, you can save this document to a file by adding a File serializer in the xforms-text/view.xpl.
Where can I learn more about Orbeon's XML name spaces (xxforms, document)? Is there any specification?
The xxforms namespace is used for non-standard XForms elements and attributes, in particular:
- <xxforms:hidden> (to create hidden fields)
- <xforms:submit xxforms:appearance="button|link|image"/> (for the appearance of submit buttons, see the XForms Submit Controls example)
- <xxforms:img src="..."/> (used in <xforms:submit> to specify the location of the image)
- <xxforms:set ref="..." value="..."/> (used in <xforms:submit> to set a value when the form is submitted).
There is no special support in OXF for the "document" namespace: this namespace is just used in the example application. The elements with this namespace are transformed in HTML by the final stylesheet that applies the look & feel (oxf-theme/theme.xsl).
Alex
_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
