Defining data in reverse chronological order

Hi

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

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"
maxOccurs="unbounded"/>
</sequence>

???

Charles

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