DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "DDIProfileType"
Namespace:
Content:
complex, 11 attributes, 12 elements
Defined:
globally in ddiprofile.xsd, see XML source
Includes:
definitions of 9 elements
Used:
XML Representation Summary
<...
    action
 = 
("Add" | "Update" | "Delete")
    agency
 = 
xs:NCName
    externalReferenceDefaultURI
 = 
xs:anyURI
    id
 = 
xs:string
    isMaintainable
 = 
"true"
    isPublished
 = 
xs:boolean : "false"
    objectSource
 = 
xs:anyURI
    urn
 = 
xs:anyURI
    version
 = 
xs:string
    versionDate
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration)
    xml:lang
 = 
xs:language
    >
   
Content: 
UserID*, VersionResponsibility?, VersionRationale*, DDIProfileName*, r:Label*, r:Description*, XPathVersion, DDINamespace?, XMLPrefixMap+, Instructions*, (Used | NotUsed)*
</...>
Content Model Elements (12):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Type Definition Detail
Type Derivation Tree
      r:AbstractMaintainableType (extension)
          r:MaintainableType (extension)
              DDIProfileType (extension)
XML Source (w/o annotations (7); see within schema source)
<xs:complexType name="DDIProfileType">
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DDIProfileName"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Description"/>
<xs:element default="1.0" name="XPathVersion" type="xs:decimal"/>
<xs:element minOccurs="0" name="DDINamespace" type="xs:decimal"/>
<xs:element maxOccurs="unbounded" name="XMLPrefixMap" type="XMLPrefixMapType"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="Instructions" type="r:StructuredStringType"/>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="Used"/>
<xs:element ref="NotUsed"/>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Content Element Detail (defined in this component only; 9/12)
DDINamespace
Type:
xs:decimal, predefined, simple content
Provides the version of DDI schemas used. Values are 3.0, 3.1, etc.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="DDINamespace" type="xs:decimal"/>

DDIProfileName
Type:
r:NameType, simple content
Simple Content
xs:string
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DDIProfileName"/>

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"/>

NotUsed
Type:
NotUsedType, simple content
Indicates an element in the DDI which is not used by the profile. You cannot make anything which is required in the DDI schemas not used, as this would produce invalid XML instances.
Simple Content
xs:string
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="NotUsed"/>

r: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" ref="r:Description"/>

r:Label
Type:
r:LabelType, mixed content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>

Used
Type:
UsedType, complex content
Indicates an element in the DDI which is used by the profile.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="Used"/>

XMLPrefixMap
Type:
XMLPrefixMapType, complex content
For each XML namespace used in the profile's XPath expressions, the XML namespaces must have their prefix specified using this element.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" name="XMLPrefixMap" type="XMLPrefixMapType"/>

XPathVersion
Type:
xs:decimal, predefined, simple content
Provides the version of XPath used. Values are 1.0, 2.0 at this time.
Simple Content
Default:
"1.0"
XML Source (w/o annotations (1); see within schema source)
<xs:element default="1.0" name="XPathVersion" type="xs:decimal"/>

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