Re: [XSD] Condition liée au contenu attendu
Eric van der Vlist <[email protected]>
| Newsgroups | gmane.text.xml.french.tech |
|---|---|
| Organization | Dyomedea (http://dyomedea.com) |
| Message-ID | <[email protected]> |
Bonjour,
Le samedi 23 septembre 2006 à 21:50 +0200, Serge Chastel a écrit :
.../...
>
> Je souhaite donc m'assurer que : debut <= fin
>
> J'ai farfouillé un peu partout... vainement (j'en conclus donc que je
> n'ai pas posé la bonne question aux sites de recherche).
>
> - Une telle spécification est-elle possible ?
Ce n'est pas possible avec W3C XML Schema...
> - Si oui, comment ?
Il faut utiliser une autre méthode, comme par exemple utiliser un
langage de schéma tel que Schematron
(http://www.schematron.com/overview.html).
Cordialement,
Eric van der Vlist
--
GPG-PGP: 2A528005
Have you ever thought about unit testing XSLT templates?
http://xsltunit.org
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
-- Attached file included as plaintext by Ecartis --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQBFF3TNDvn+ZCpSgAURAkQvAJ4jXNuTwNQDrfxpI1W0fcV5UYOuLQCcDTiU
M+K7C3cnNeP4A1zI+Ejs7vc=
=Rjs8
-----END PGP SIGNATURE-----