Anyone know if this is possible, or if I have to make it a string?
Thank you,
Anna
Pad Character Type = Hexadecimal
Pad Character = 0x20 (SPACE)
Minimum Length with Pad Character = 6
I think this will work with the xs:date type.
--
Jeff Lynch
"A BizTalk Enthusiast"
http://codebetter.com/blogs/jeff.lynch
<kap...@rose-hulman.edu> wrote in message
news:1120656867.6...@g44g2000cwa.googlegroups.com...
<?xml version="1.0" encoding="utf-16"?>
<xs:schema xmlns="http://Scorpio.BizTalk.Schemas.DateTime"
xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
targetNamespace="http://Scorpio.BizTalk.Schemas.DateTime"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:appinfo>
<b:schemaInfo count_positions_by_byte="false"
parser_optimization="speed" lookahead_depth="3" suppress_empty_nodes="false"
generate_empty_nodes="true" allow_early_termination="false" standard="Flat
File" root_reference="Root" />
<schemaEditorExtension:schemaInfo namespaceAlias="b"
extensionClass="Microsoft.BizTalk.FlatFileExtension.FlatFileExtension"
standardName="Flat File"
xmlns:schemaEditorExtension="http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions"
/>
</xs:appinfo>
</xs:annotation>
<xs:element name="Root">
<xs:annotation>
<xs:appinfo>
<b:recordInfo structure="delimited"
preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="true"
sequence_number="1" child_order="postfix" child_delimiter_type="hex"
child_delimiter="0x0D 0x0A" escape_char_type="hex" escape_char="0x20" />
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:annotation>
<xs:appinfo>
<b:groupInfo sequence_number="0" />
</xs:appinfo>
</xs:annotation>
<xs:element minOccurs="0" name="Dtime" nillable="true">
<xs:annotation>
<xs:appinfo>
<b:fieldInfo justification="left" sequence_number="1"
datetime_format="yyMMdd" pad_char_type="none" />
</xs:appinfo>
</xs:annotation>
<xs:simpleType>
<xs:union memberTypes="xs:date xs:string" />
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<kap...@rose-hulman.edu> wrote in message
news:1120656867.6...@g44g2000cwa.googlegroups.com...
<xs:element minOccurs="0" name="NETWORK_SETTLEMENT_DATE"
nillable="true">
<xs:annotation>
<xs:appinfo>
<b:fieldInfo sequence_number="35"
justification="left" pos_length="6" datetime_format="yyMMdd" />
</xs:appinfo>
</xs:annotation>
<xs:simpleType>
<xs:union memberTypes="xs:date xs:string" />
</xs:simpleType>
</xs:element>
Thanks,
Anna