MYAPP.XML

<?xml version="1.0"?>

<!--

  If Internet Explorer 5 is used without a stylesheet it displays

  the XML file in a default format.  This format does not recognise

  end of line characters and white space in your source code, 

  making it  almost unreadable.  Use a text editor, or XML editor

  to see the XML file in a more readable format.           -->

<uniface_schema xmlns:html="http://www.w3.org/TR/REC-html40" xmlns="x-schema:myappSchema.xml">

<XMLcustomer>

<cusinvoice xmlns:xlink="http://www.w3.org/1999/xlink"

  xlink:type="simple" xlink:show="replace"

  xlink:href="#xpointer(//XMLinvoice[cusid='1'])"

>Click to load parent</cusinvoice>

<cusaddress xmlns:xlink="http://www.w3.org/1999/xlink"

  xlink:type="simple" xlink:show="replace"

  xlink:href="#xpointer(//XMLaddress[cusid='1'])"

>Click to load parent</cusaddress>

   <cusid>1</cusid>

   <cusname>arthur</cusname>

</XMLcustomer>

<XMLaddress>

<parent xmlns:xlink="http://www.w3.org/1999/xlink"

  xlink:type="simple" xlink:show="replace"

  xlink:href="#xpointer(//XMLcustomer[cusid='1'])"

>Click to load parent</parent>

   <adrid>10</adrid>

   <cusid>1</cusid>

   <adr_line1>po box 265</adr_line1>

   <adr_state>nsw</adr_state>

   <adr_city>chruch point</adr_city>

   <adr_zip>2105</adr_zip>

</XMLaddress>

<XMLaddress>

<parent xmlns:xlink="http://www.w3.org/1999/xlink"

  xlink:type="simple" xlink:show="replace"

  xlink:href="#xpointer(//XMLcustomer[cusid='1'])"

>Click to load parent</parent>

   <adrid>11</adrid>

   <cusid>1</cusid>

   <adr_line1>38 wirringulla ave</adr_line1>

   <adr_state>nsw</adr_state>

   <adr_city>elvina bay</adr_city>

   <adr_zip>2105</adr_zip>

</XMLaddress>

</uniface_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]