myappSchema.XML

<Schema xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes">

  <ElementType name="uniface_schema" content="eltOnly">

    <element type="XMLcustomer"/>

    <element type="XMLaddress"/>

  </ElementType>

  <ElementType name="XMLcustomer" content="eltOnly" order="many">

    <element type="cusid"/> 

    <element type="cusname"/> 

  </ElementType>

  <ElementType name="trigger" content="mixed"/> 

  <ElementType name="cusid" content="textOnly" dt:type="i4"/>

  <ElementType name="cusname" content="textOnly" dt:type="string"/>

  <ElementType name="XMLaddress" content="eltOnly" order="many">

    <element type="adrid"/> 

    <element type="cusid"/> 

    <element type="adr_line1"/> 

    <element type="adr_line2"/> 

    <element type="adr_state"/> 

    <element type="adr_city"/> 

    <element type="adr_zip"/> 

  </ElementType>

  <ElementType name="adrid" content="textOnly" dt:type="i4"/>

  <ElementType name="adr_line1" content="textOnly" dt:type="string"/>

  <ElementType name="adr_line2" content="textOnly" dt:type="string"/>

  <ElementType name="adr_state" content="textOnly" dt:type="string"/>

  <ElementType name="adr_city" content="textOnly" dt:type="string"/>

  <ElementType name="adr_zip" content="textOnly" dt:type="string"/>

</Schema> 

Using UD6 for EDI/XML Data Interchange

Further Information

Format of the files
Modifying the XML files directly
Differences between UD6/CMtool and UD7/XML-DATA and W3C XML-DATA format

UD6 Overview
How to use the driver with a configuration management solution

$Revision: 1.10 $ $Date: 2011/02/28 02:56:33 $[go to top]