CSS
Hover the classes to see matching element(s) in the example
xfUpload matches an Element that represents a XForms input element
xsdHexBinary matches an Element that is bound to a node with datatype hexBinary
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 which uses hexBinary for content encoding

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 hexBinary will be represented by a file upload control. The selected file will be uploaded and written to the bound node in base64-encoded format.

| XForms 1.1 Links
Recommendation
Quick Reference

## Example

a base64 upload hexBinary-encoded value:
readonly required relevant valid

## XForms Markup

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

    <xf:group appearance="bf:verticalTable">
        <xf:output value="upload1/value">
            <xf:label>hexBinary-encoded value:</xf:label>
        </xf:output>
    </xf:group>