Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-16"?>
- <xs:schema xmlns="http://BizTalk_Server_Project1.PO" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" targetNamespace="http://BizTalk_Server_Project1.PO" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:annotation>
- <xs:appinfo>
- <schemaEditorExtension:schemaInfo namespaceAlias="b" extensionClass="Microsoft.BizTalk.FlatFileExtension.FlatFileExtension" standardName="Flat File" xmlns:schemaEditorExtension="http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions" />
- <b:schemaInfo standard="Flat File" codepage="65001" default_pad_char=" " pad_char_type="char" count_positions_by_byte="false" parser_optimization="speed" lookahead_depth="3" suppress_empty_nodes="false" generate_empty_nodes="true" allow_early_termination="true" early_terminate_optional_fields="false" allow_message_breakup_of_infix_root="false" compile_parse_tables="false" root_reference="PO" />
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="PO">
- <xs:annotation>
- <xs:appinfo>
- <b:recordInfo tag_name="PO" structure="delimited" child_delimiter_type="hex" child_delimiter="0xD 0xA" child_order="infix" sequence_number="1" preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="false" />
- </xs:appinfo>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:annotation>
- <xs:appinfo>
- <groupInfo sequence_number="0" xmlns="http://schemas.microsoft.com/BizTalk/2003" />
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="date" type="xs:date">
- <xs:annotation>
- <xs:appinfo>
- <b:fieldInfo justification="left" sequence_number="1" />
- </xs:appinfo>
- </xs:annotation>
- </xs:element>
- <xs:element minOccurs="2" maxOccurs="2" name="customer">
- <xs:annotation>
- <xs:appinfo>
- <b:recordInfo structure="positional" sequence_number="2" preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="false" />
- </xs:appinfo>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:annotation>
- <xs:appinfo>
- <groupInfo sequence_number="0" xmlns="http://schemas.microsoft.com/BizTalk/2003" />
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="country" type="xs:string">
- <xs:annotation>
- <xs:appinfo>
- <b:fieldInfo justification="left" pos_offset="0" pos_length="10" sequence_number="1" />
- </xs:appinfo>
- </xs:annotation>
- </xs:element>
- <xs:element name="FullName" type="xs:string">
- <xs:annotation>
- <xs:appinfo>
- <b:fieldInfo justification="left" pos_offset="0" pos_length="20" sequence_number="2" />
- </xs:appinfo>
- </xs:annotation>
- </xs:element>
- <xs:element name="Street" type="xs:string">
- <xs:annotation>
- <xs:appinfo>
- <b:fieldInfo justification="left" pos_offset="0" pos_length="20" sequence_number="3" />
- </xs:appinfo>
- </xs:annotation>
- </xs:element>
- <xs:element name="City" type="xs:string">
- <xs:annotation>
- <xs:appinfo>
- <b:fieldInfo justification="left" pos_offset="0" pos_length="15" sequence_number="4" />
- </xs:appinfo>
- </xs:annotation>
- </xs:element>
- <xs:element name="State" type="xs:string">
- <xs:annotation>
- <xs:appinfo>
- <b:fieldInfo justification="left" pos_offset="0" pos_length="3" sequence_number="5" />
- </xs:appinfo>
- </xs:annotation>
- </xs:element>
- <xs:element name="PostalCode" type="xs:string">
- <xs:annotation>
- <xs:appinfo>
- <b:fieldInfo justification="left" pos_offset="0" pos_length="7" sequence_number="6" />
- </xs:appinfo>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element name="items">
- <xs:annotation>
- <xs:appinfo>
- <b:recordInfo tag_name="ITEMS" structure="delimited" child_delimiter_type="char" child_delimiter="," child_order="prefix" sequence_number="3" preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="false" />
- </xs:appinfo>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:annotation>
- <xs:appinfo>
- <groupInfo sequence_number="0" xmlns="http://schemas.microsoft.com/BizTalk/2003" />
- </xs:appinfo>
- </xs:annotation>
- <xs:element maxOccurs="unbounded" name="items_Child1">
- <xs:annotation>
- <xs:appinfo>
- <b:recordInfo tag_name="ITEM" structure="delimited" child_delimiter_type="char" child_delimiter="|" child_order="infix" sequence_number="1" preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="false" />
- </xs:appinfo>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:annotation>
- <xs:appinfo>
- <groupInfo sequence_number="0" xmlns="http://schemas.microsoft.com/BizTalk/2003" />
- </xs:appinfo>
- </xs:annotation>
- <xs:element name="productCode" type="xs:string">
- <xs:annotation>
- <xs:appinfo>
- <b:fieldInfo justification="left" sequence_number="1" />
- </xs:appinfo>
- </xs:annotation>
- </xs:element>
- <xs:element name="Description" type="xs:string">
- <xs:annotation>
- <xs:appinfo>
- <b:fieldInfo justification="left" sequence_number="2" />
- </xs:appinfo>
- </xs:annotation>
- </xs:element>
- <xs:element name="Quantity" type="xs:string">
- <xs:annotation>
- <xs:appinfo>
- <b:fieldInfo justification="left" sequence_number="3" />
- </xs:appinfo>
- </xs:annotation>
- </xs:element>
- <xs:element name="UnitPrice" type="xs:string">
- <xs:annotation>
- <xs:appinfo>
- <b:fieldInfo justification="left" sequence_number="4" />
- </xs:appinfo>
- </xs:annotation>
- </xs:element>
- <xs:element name="Notes" type="xs:string">
- <xs:annotation>
- <xs:appinfo>
- <b:fieldInfo justification="left" sequence_number="5" />
- </xs:appinfo>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:schema>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement