W3C home > Mailing lists > Public > www-forms@w3.org > November 2002

RE: [XForms] ID/IDREF relationships in XML instances

From: Mark Seaborne <MSeaborne@origoservices.com>
Date: Mon, 18 Nov 2002 15:59:13 -0000
Message-ID: <DC65AE678B89004B9CCB202E19482CC704FB6D@mail.origoservices.local>
To: <AndrewWatt2001@aol.com>
Cc: <XForms@yahoogroups.com>, <www-forms@w3.org>


Thanks for clearing that up then :) 

All I want to do is to have a form that understands and maintains the relationship between the address and person in the XML below:

	<address id="a">
		<line_1>4 Heronimous Road</line_1>
		<postcode>SK1 1KS</postcode>
	<person id="i">
		<address address_id="a"/>

where both person and address repeat, one person may have only one address, but one address can be linked to none or more persons. Maybe I should be expressing something like this in the schema, or in the model? Thinking about it, perhaps keys would do the trick? 

Any other advice, or experience would certainly be welcomed.

All the best

Received on Monday, 18 November 2002 10:59:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:07 UTC