An
image will be mapped to the static Image field object in the form
design. Here are the attributes:
xfa:contentType
xfa:href
xfa:transferEncoding
Here is an example of such a declaration:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xfa="http://www.adobe.com/2003/xfa">
<xsd:import namespace="http//www.adobe.com/2003/xfa">
<xsd:element name="ImageField">
<xsd:complexType>
<xsd:extension base="xsd:hexBinary">
<xsd:attribute ref="xfa:contentType" fixed="image/jpg"/>
<xsd:attribute ref="xfa:transferEncoding" fixed="base64"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
In this case, the attributes will not be used to generate fields
in the form design. They will be used to recognize the element as
corresponding to an image field, and any default or fixed values
for the attributes will be set on the generated
<image>
element.
|
|
|