Advertisement
Guest User

Untitled

a guest
Oct 18th, 2017
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.69 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-16"?>
  2. <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">
  3.   <xs:annotation>
  4.     <xs:appinfo>
  5.       <schemaEditorExtension:schemaInfo namespaceAlias="b" extensionClass="Microsoft.BizTalk.FlatFileExtension.FlatFileExtension" standardName="Flat File" xmlns:schemaEditorExtension="http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions" />
  6.       <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" />
  7.     </xs:appinfo>
  8.   </xs:annotation>
  9.   <xs:element name="PO">
  10.     <xs:annotation>
  11.       <xs:appinfo>
  12.         <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" />
  13.       </xs:appinfo>
  14.     </xs:annotation>
  15.     <xs:complexType>
  16.       <xs:sequence>
  17.         <xs:annotation>
  18.           <xs:appinfo>
  19.             <groupInfo sequence_number="0" xmlns="http://schemas.microsoft.com/BizTalk/2003" />
  20.           </xs:appinfo>
  21.         </xs:annotation>
  22.         <xs:element name="date" type="xs:date">
  23.           <xs:annotation>
  24.             <xs:appinfo>
  25.               <b:fieldInfo justification="left" sequence_number="1" />
  26.             </xs:appinfo>
  27.           </xs:annotation>
  28.         </xs:element>
  29.         <xs:element minOccurs="2" maxOccurs="2" name="customer">
  30.           <xs:annotation>
  31.             <xs:appinfo>
  32.               <b:recordInfo structure="positional" sequence_number="2" preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="false" />
  33.             </xs:appinfo>
  34.           </xs:annotation>
  35.           <xs:complexType>
  36.             <xs:sequence>
  37.               <xs:annotation>
  38.                 <xs:appinfo>
  39.                   <groupInfo sequence_number="0" xmlns="http://schemas.microsoft.com/BizTalk/2003" />
  40.                 </xs:appinfo>
  41.               </xs:annotation>
  42.               <xs:element name="country" type="xs:string">
  43.                 <xs:annotation>
  44.                   <xs:appinfo>
  45.                     <b:fieldInfo justification="left" pos_offset="0" pos_length="10" sequence_number="1" />
  46.                   </xs:appinfo>
  47.                 </xs:annotation>
  48.               </xs:element>
  49.               <xs:element name="FullName" type="xs:string">
  50.                 <xs:annotation>
  51.                   <xs:appinfo>
  52.                     <b:fieldInfo justification="left" pos_offset="0" pos_length="20" sequence_number="2" />
  53.                   </xs:appinfo>
  54.                 </xs:annotation>
  55.               </xs:element>
  56.               <xs:element name="Street" type="xs:string">
  57.                 <xs:annotation>
  58.                   <xs:appinfo>
  59.                     <b:fieldInfo justification="left" pos_offset="0" pos_length="20" sequence_number="3" />
  60.                   </xs:appinfo>
  61.                 </xs:annotation>
  62.               </xs:element>
  63.               <xs:element name="City" type="xs:string">
  64.                 <xs:annotation>
  65.                   <xs:appinfo>
  66.                     <b:fieldInfo justification="left" pos_offset="0" pos_length="15" sequence_number="4" />
  67.                   </xs:appinfo>
  68.                 </xs:annotation>
  69.               </xs:element>
  70.               <xs:element name="State" type="xs:string">
  71.                 <xs:annotation>
  72.                   <xs:appinfo>
  73.                     <b:fieldInfo justification="left" pos_offset="0" pos_length="3" sequence_number="5" />
  74.                   </xs:appinfo>
  75.                 </xs:annotation>
  76.               </xs:element>
  77.               <xs:element name="PostalCode" type="xs:string">
  78.                 <xs:annotation>
  79.                   <xs:appinfo>
  80.                     <b:fieldInfo justification="left" pos_offset="0" pos_length="7" sequence_number="6" />
  81.                   </xs:appinfo>
  82.                 </xs:annotation>
  83.               </xs:element>
  84.             </xs:sequence>
  85.           </xs:complexType>
  86.         </xs:element>
  87.         <xs:element name="items">
  88.           <xs:annotation>
  89.             <xs:appinfo>
  90.               <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" />
  91.             </xs:appinfo>
  92.           </xs:annotation>
  93.           <xs:complexType>
  94.             <xs:sequence>
  95.               <xs:annotation>
  96.                 <xs:appinfo>
  97.                   <groupInfo sequence_number="0" xmlns="http://schemas.microsoft.com/BizTalk/2003" />
  98.                 </xs:appinfo>
  99.               </xs:annotation>
  100.               <xs:element maxOccurs="unbounded" name="items_Child1">
  101.                 <xs:annotation>
  102.                   <xs:appinfo>
  103.                     <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" />
  104.                   </xs:appinfo>
  105.                 </xs:annotation>
  106.                 <xs:complexType>
  107.                   <xs:sequence>
  108.                     <xs:annotation>
  109.                       <xs:appinfo>
  110.                         <groupInfo sequence_number="0" xmlns="http://schemas.microsoft.com/BizTalk/2003" />
  111.                       </xs:appinfo>
  112.                     </xs:annotation>
  113.                     <xs:element name="productCode" type="xs:string">
  114.                       <xs:annotation>
  115.                         <xs:appinfo>
  116.                           <b:fieldInfo justification="left" sequence_number="1" />
  117.                         </xs:appinfo>
  118.                       </xs:annotation>
  119.                     </xs:element>
  120.                     <xs:element name="Description" type="xs:string">
  121.                       <xs:annotation>
  122.                         <xs:appinfo>
  123.                           <b:fieldInfo justification="left" sequence_number="2" />
  124.                         </xs:appinfo>
  125.                       </xs:annotation>
  126.                     </xs:element>
  127.                     <xs:element name="Quantity" type="xs:string">
  128.                       <xs:annotation>
  129.                         <xs:appinfo>
  130.                           <b:fieldInfo justification="left" sequence_number="3" />
  131.                         </xs:appinfo>
  132.                       </xs:annotation>
  133.                     </xs:element>
  134.                     <xs:element name="UnitPrice" type="xs:string">
  135.                       <xs:annotation>
  136.                         <xs:appinfo>
  137.                           <b:fieldInfo justification="left" sequence_number="4" />
  138.                         </xs:appinfo>
  139.                       </xs:annotation>
  140.                     </xs:element>
  141.                     <xs:element name="Notes" type="xs:string">
  142.                       <xs:annotation>
  143.                         <xs:appinfo>
  144.                           <b:fieldInfo justification="left" sequence_number="5" />
  145.                         </xs:appinfo>
  146.                       </xs:annotation>
  147.                     </xs:element>
  148.                   </xs:sequence>
  149.                 </xs:complexType>
  150.               </xs:element>
  151.             </xs:sequence>
  152.           </xs:complexType>
  153.         </xs:element>
  154.       </xs:sequence>
  155.     </xs:complexType>
  156.   </xs:element>
  157. </xs:schema>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement