[
Lists Home |
Date Index |
Thread Index
]
Paul Spencer scripsit:
> And the problem with "weird" is that you can guarantee that there will be as
> many different interpretations as there are schema tools. Whilst looking for
> a theoretical solution is what makes xml-dev great to read, in the real
> world I would always use mixed content here. In the right environment, I
> might add some Schematron to enforce the extra rules.
Or break the WXS addiction and use RNG instead:
element time {
xsd:token {pattern = "\d{2}:\d{2}"} |
(element hour {xsd:integer}, element min {xsd:integer})
}
--
All Norstrilians knew what laughter was: John Cowan
it was "pleasurable corrigible malfunction". http://www.reutershealth.com
--Cordwainer Smith, _Norstrilia_ jcowan@reutershealth.com
|