W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2003

order of attributes

From: COLLARD Jean-Francois <jean-francois.collard@swift.com>
Date: Thu, 17 Jul 2003 11:25:44 +0200
To: xmlschema-dev@w3.org
Message-id: <3F166B98.BAD22458@swift.com>
Hi all,
Using a xml schema, how is it possible to impose the order of the attributes on a element in a xml instance?
eg : on the element 'elem1' I want the attributes to appear in the order : first 'att1' then 'att2' and finally 'att3'.

<elem1 att1="blabla" att2="blabla" att3="blabla" /> valid

<elem1 att3="blabla" att2="blabla" att1="blabla" /> NOT valid

How can specify such a constraint ?
Thank you for your anwers.

Received on Thursday, 17 July 2003 05:45:00 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:02 UTC