DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "UsedType"
Namespace:
Content:
complex, 4 attributes, 3 elements
Defined:
globally in ddiprofile.xsd, see XML source
Includes:
definitions of 4 attributes and 3 elements
Used:
XML Representation Summary
<...
    defaultValue
 = 
xs:string
    fixedValue
 = 
xs:boolean : "false"
    path
 = 
xs:string
    required
 = 
xs:boolean : "false"
    >
   
Content: 
AlternateName*, Description*, Instructions*
</...>
Content Model Elements (3):
All Direct / Indirect Based Elements (1):
Known Usage Locations
XML Source (w/o annotations (7); see within schema source)
<xs:complexType name="UsedType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="AlternateName" type="r:InternationalStringType"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="Description" type="r:StructuredStringType"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="Instructions" type="r:StructuredStringType"/>
</xs:sequence>
<xs:attribute default="false" name="required" type="xs:boolean"/>
<xs:attribute name="path" type="xs:string" use="required"/>
<xs:attribute name="defaultValue" type="xs:string" use="optional"/>
<xs:attribute default="false" name="fixedValue" type="xs:boolean"/>
</xs:complexType>
Attribute Detail (defined in this component only; 4/4)
defaultValue
Type:
xs:string, predefined
Use:
optional
This field provides a default value for the specified element or attribute if it holds simple content, and the value must be a valid one per the DDI schemas. This assumes that the value is not specified in the DDI instance itself, which would override the default. The value should also be provided as part of the XPath expression supplied for the field.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="defaultValue" type="xs:string" use="optional"/>

fixedValue
Type:
xs:boolean, predefined
Use:
optional
This field, if set to true, provides an indication that the default value supplied in the fixedValue attribute is the only one which is allowed for the profile - other values will be overriden with the default (a warning should be issued to the creator of the instance); the value must be a valid one per the DDI schemas.
Attribute Value
Default:
"false"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="false" name="fixedValue" type="xs:boolean"/>

path
Type:
xs:string, predefined
Use:
required
Contains an XPath which points to an element or attribute in DDI instances which is used by the profile. All subelements of a used element are assumed to be supported unless explicitly addressed by the profile. The number of supported repetitions may be included in the XPath expression.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="path" type="xs:string" use="required"/>

required
Type:
xs:boolean, predefined
Use:
optional
If true indicates that an element described as optional in DDI is required by the profile.
Attribute Value
Default:
"false"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="false" name="required" type="xs:boolean"/>
Content Element Detail (defined in this component only; 3/3)
AlternateName
Type:
Provides an alternate name for the element, for presentation purposes (not for use in the XML instance). It may be supplied in several language-versions.
Simple Content
xs:string
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="AlternateName" type="r:InternationalStringType"/>

Description
Type:
r:StructuredStringType, mixed content
Provides a human-readable description of the profile. XHTML may be used, and it may be supplied in several language-versions.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="Description" type="r:StructuredStringType"/>

Instructions
Type:
r:StructuredStringType, mixed content
Provides human-readable instructions for the profile. XHTML may be used, and it may be supplied in several language-versions.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="Instructions" type="r:StructuredStringType"/>

XML schema documentation generated with DocFlex/XML SDK 1.7.2 using DocFlex/XML XSDDoc 2.1.0 template set