2.3.2.8 Linked Picture Control
A linked picture control that is not required to contain data and is bound, using the xd:binding attribute, as specified in section 2.4.2.6, to an XML element with data type set to "xsd:anyURI", and for which no constraining facets have been set, MUST have the following XSD definition, assuming that the element name is "field1":
-
<xsd:element name="field1">
A linked picture control that is required to contain data and is bound, using the xd:binding attribute, to an XML element with data type set to "xsd:anyURI" and for which an xsd:minLength constraining facets has been set, MUST have the following XSD definition, assuming that the element name is "field1":
-
<xsd:element name="field1" type="my:requiredAnyURI"/> <xsd:simpleType name="requiredAnyURI"> <xsd:restriction base="xsd:anyURI"> <xsd:minLength value="1"/> </xsd:restriction> </xsd:simpleType>
A linked picture control that is not required to contain data and is bound to two XML elements as follows:
Bound, using the xd:binding attribute, to an XML element with data type set to "xsd:anyURI", and for which no constraining facets have been set and
Bound, using the xd:binding_secondary attribute, as specified in section 2.4.2.37.2, to another XML element with data type set to "xsd:string", for which no constraining facets have been set
MUST have the following XSD definition, assuming that the element names are "field1" and "field2":
-
<xsd:attribute name="field2" type="xsd:string" /> <xsd:element name="field1"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:anyURI"> <xsd:attribute ref="my:field2" /> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element>
A linked picture control that is required to contain data and is bound to two XML elements as follows:
Bound, using the xd:binding attribute, to an XML element with data type set to "xsd:anyURI", and for which an xsd:minLength constraining facet has been set and
Bound, using the xd:binding_secondary attribute, to another XML element with data type set to "xsd:string", and for which an xsd:minLength constraining facet has been set
MUST have the following XSD definition, assuming that the element names are "field1" and "field2":
-
<xsd:attribute name="field2" type="my:requiredString" /> <xsd:element name="field1"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="my:requiredAnyURI"> <xsd:attribute ref="my:field2" /> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> <xsd:simpleType name="requiredString"> <xsd:restriction base="xsd:string"> <xsd:minLength value="1" /> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="requiredAnyURI"> <xsd:restriction base="xsd:anyURI"> <xsd:minLength value="1" /> </xsd:restriction> </xsd:simpleType>
A linked picture control SHOULD be bound, using the xd:binding attribute, to a field with one of the following XSD data types, for which any valid constraining facets MAY also be set:
anyURI
string
A linked picture control SHOULD be bound, using the xd:binding_secondary attribute, to a field with one of the following XSD data types, for which any valid constraining facets MAY also be set:
anyURI
string
integer
double
boolean
date
time
dateTime
base64