CSS
Hover the classes to see matching element(s) in the example
xfUpload matches an Element that represents a XForms input element
xsdAnyURI matches an Element that is bound to a node with datatype anyURI
xfControl matches an Element that represents a XForms control
xfLabel matches the label part of an XForms control
xfValue matches the widget part of an XForms control
xfReadOnly matches a xforms control that is currently readonly
xfReadWrite matches a xforms control that is currently writable
xfRequired matches a xforms control that is currently required
xfOptional matches a xforms control that is currently optional
xfEnabled matches a xforms control that is currently relevant (enabled)
xfDisabled matches a xforms control that is currently disabled (can't be visualized here as the control gets hidden)
xfValid matches a xforms control that is currently valid
xfInvalid matches a xforms control that is currently invalid

# Upload control

This form control enables the common feature found on Web sites to upload a file from the local file system, as well as accepting input from various devices including microphones, pens, and digital cameras.

An upload element bound to a node with datatype anyURI will be represented by a file upload control. The selected file will be uploaded as a file and stored in the configured 'upload' folder on disk.

| XForms 1.1 Links
Recommendation
Quick Reference

## Example

a standard file upload
readonly required relevant valid

## XForms Markup

    <xf:upload id="upload1" ref="upload1/value">
        <xf:label>a standard file upload</xf:label>
        <xf:filename ref="."></xf:filename>
        <xf:mediatype ref="attribute::type"></xf:mediatype>
    </xf:upload>