W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2005

comment

From: Pedro Martins <martins.pedro@netvisao.pt>
Date: 26 Jul 2005 07:46:18 -0600
Message-ID: <000901c57a51$7706ef50$0202a8c0@HOST2>
To: <www-xml-schema-comments@w3.org>
Hi

I'm begginer in the XML Schema world. Here's a crazy suggestion.

I have two xml files. The customers.xml file and orders.xml file. 
Wouldn't be nice to define relationships between these two xml files 
(like in rdbms databases) with a xml schema like this:

<relationships>

<relationship>

  <name>CustomerOrders<name>
  <type>One-To-Many</type>

  <tablename1>customers.xml</tablename1>
  <fieldname1>customer_id</fieldname1>

  <tablename2>orders.xml</tablename2>
  <fieldname2>customer_id</fieldname2>

</relationship>

...

</relationships>

Contact: martins.pedro@netvisao.pt 
(Pedro Martins from Portugal - a country next to Spain)
Received on Tuesday, 26 July 2005 13:47:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:08 GMT