DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "PhysicalLocationType"
Namespace:
Content:
complex, 11 elements
Defined:
Includes:
definitions of 11 elements
Used:
XML Representation Summary
<...>
   
Content: 
StorageFormat?, Delimiter?, StartPosition?, ArrayPosition?, EndPosition?, Width?, DecimalPositions?, DecimalSeparator?, DigitGroupSeparator?, LanguageOfData?, LocaleOfData?
</...>
Content Model Elements (11):
ArrayPosition (type xs:integer),
DecimalPositions (type xs:integer),
Delimiter (type xs:string),
EndPosition (type xs:integer),
LanguageOfData (type xs:string),
LocaleOfData (type xs:string),
StartPosition (type xs:integer),
Width (type xs:integer)
Known Direct Subtypes (1):
All Direct / Indirect Based Elements (2):
Known Usage Locations
Annotation
Includes information about the data item location and its data type/format if other than the default.
XML Source (w/o annotations (12); see within schema source)
<xs:complexType name="PhysicalLocationType">
<xs:sequence>
<xs:element minOccurs="0" name="StorageFormat" type="r:CodeValueType"/>
<xs:element minOccurs="0" name="Delimiter" type="xs:string"/>
<xs:sequence>
<xs:element minOccurs="0" name="StartPosition" type="xs:integer"/>
<xs:element minOccurs="0" name="ArrayPosition" type="xs:integer"/>
<xs:element minOccurs="0" name="EndPosition" type="xs:integer"/>
<xs:element minOccurs="0" name="Width" type="xs:integer"/>
</xs:sequence>
<xs:element minOccurs="0" name="DecimalPositions" type="xs:integer"/>
<xs:element minOccurs="0" ref="DecimalSeparator"/>
<xs:element minOccurs="0" ref="DigitGroupSeparator"/>
<xs:element minOccurs="0" name="LanguageOfData" type="xs:string"/>
<xs:element minOccurs="0" name="LocaleOfData" type="xs:string"/>
</xs:sequence>
</xs:complexType>
Content Element Detail (defined in this component only; 11/11)
ArrayPosition
Type:
xs:integer, predefined, simple content
Array number of the data item for delimited files.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="ArrayPosition" type="xs:integer"/>

DecimalPositions
Type:
xs:integer, predefined, simple content
Number of decimal places for data with an implied decimal separator. Another expression is the decimal scaling factor (SAS). Default: 0.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="DecimalPositions" type="xs:integer"/>

DecimalSeparator
Type:
r:OneCharStringType, simple content
The character used to separate the integer and the fraction part of a number (if an explicit separator is used in the data). Allowed values are: None (default), Dot, Comma, Other. On the basis of the data definition in DDI documents, data processing tools could compute the necessary precision width on the basis of the format width and the existence of separators. Appropriate data types could be used, i.e. float or double, short or long. The decimal separator definition only makes sense with some XML Schema primitives.
Simple Content
xs:string
maxLength:
1
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="DecimalSeparator"/>

Delimiter
Type:
xs:string, predefined, simple content
Delimiter definition for delimited (free field) data. Allowed values are: Empty (default), Tab, Blank, AnyString. If a delimiter is used, free field (delimited data) is assumed; binary formats are not allowed.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="Delimiter" type="xs:string"/>

DigitGroupSeparator
Type:
r:OneCharStringType, simple content
The character used to separate groups of digits (if an explicit separator is used in the data). Allowed values are: None (default), Dot, Comma, Other. The decimal separator definition makes only sense with some XML Schema primitives.
Simple Content
xs:string
maxLength:
1
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="DigitGroupSeparator"/>

EndPosition
Type:
xs:integer, predefined, simple content
Position of the last character of the data item in fixed format. Must be specified if a value for Width is not provided.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="EndPosition" type="xs:integer"/>

LanguageOfData
Type:
xs:string, predefined, simple content
A two-character ISO language code.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="LanguageOfData" type="xs:string"/>

LocaleOfData
Type:
xs:string, predefined, simple content
A two-character ISO country code, to supplement the LanguageOfData value.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="LocaleOfData" type="xs:string"/>

StartPosition
Type:
xs:integer, predefined, simple content
Position of the first character of the data item in fixed format file.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="StartPosition" type="xs:integer"/>

StorageFormat
Type:
r:CodeValueType, simple content
An explicit definition of the data type. This field is necessary in the case of some numeric data formats where the format definition would allow real values, but the values are integer values. Allowed values are: integer (default), real, string.
Simple Content
xs:string
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="StorageFormat" type="r:CodeValueType"/>

Width
Type:
xs:integer, predefined, simple content
Data item width for fixed format file, maximum width for delimited file. Must be specified if a value for EndPosition is not provided.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="Width" type="xs:integer"/>

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