Rick:
Many thanks for your response, but re
> If you are using EXSLT, you set the
> the sch:schema/@language to "EXSLT" and then your assertions can
include,
> for example,
> assert="date:year(@effectivity) > 2000"
what happens if you have a pattern. For example, you want to check that
dates have max and min values in their range, or that a string such as a
National Insurance Number conforms to the correct pattern. Is there any way
that I can use a datatype defined in a W3C simple type definition as the
thing a value is tested against? The only way I know to refer to the pattern
is by searching the schema for the relevant name and then looking for an
embedded pattern element but I can't see how to use this in an assertion.
Martin
-- DSDL members discussion list To unsubscribe, please send a message with the command "unsubscribe" to dsdl-discuss-request@dsdl.org (mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)Received on Wed Jul 28 21:48:49 2004
This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:00:28 UTC