|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: RE : Text or tags choice with XSD
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@r...
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








