Re: Validating a duration

Robert Leftwich <[email protected]> Tue, 29 Jul 2003 20:50:27 +1000
Newsgroups gmane.text.xml.schematron
Message-ID <[email protected]>
At 07:15 PM 28/07/2003, Rick Jelliffe wrote:

>From: "Robert Leftwich" <[email protected]>
>
> > I am having difficulty writing a Schematron validation for a duration. The
> > (simplified) XML is as follows:
>
>I think there is probably a better way than this using a more functional 
>style,
>but I think this should work (I haven't tested it). Basically, it is
><snip....>
>
>I hope this is some help.

Thanks, it was a great help!

>I should check up with XSCL people: they
>have good experience with figuring out what the best idioms for
><let> are to avoid all the clunkiness above.

Did you mean XCSL, as Google doesn' t shed much light on XSCL?

Robert




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01