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

Defining data in reverse chronological order

From: C Baines <cbaines@westroadchurch.org.uk>
Date: Thu, 12 Jun 2003 12:08:32 +0100
Message-ID: <00b201c330d3$b57544e0$fbe486d4@brianwas>
To: <xmlschema-dev@w3.org>


I am writing an XMLschema to validate XML output from a job opportunity

The client wants lists of opportunities resulting from an interface search
to be displayed in reverse chronological order depending on the <date> of
each entry to the database.

I don't think this can be achieved in the transformation because xsl:sort
does not sort dates. Can this be achieved via the schema e.g. can an
attribute be included within  <sequence> to define elements in date order:

<sequence sort="xsd:date">
<element name="opportunity" type="opportunityType" minOccurs="1"


Received on Thursday, 12 June 2003 07:12:29 UTC

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