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>


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):
	<text id="aParagraph" version="2">
		This is a new text.
	<text id="aParagraph" version="1">
		This is atext.

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

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:23 UTC