W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2004

Element versioning

From: Thomas Solbjør <thomas.solbjor@strath.ac.uk>
Date: Wed, 18 Aug 2004 10:25:13 +0100
Message-Id: <200408180926.i7I9Q76q016653@ramsay.cis.strath.ac.uk>
To: <xmlschema-dev@w3.org>

Hi,

I have been trying to make some elements that support versioning. Im
thinking of compared to databases, a nested table. I want an element contain
old versions of the same element, ie. I don’t want to delete old content.


An example (not proper XML syntax):
<parahraph>
	<text id="aParagraph" version="2">
		This is a new text.
	</text>
	<text id="aParagraph" version="1">
		This is atext.
	</text>
</paragraph>

Multiple elements cannot share id's, but how should I do this? What is the
best way? 

--
Thomas
Received on Wednesday, 18 August 2004 09:30:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:10 UTC