|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Is this constraint expressible in XML Schema?
Kenneth Stephen wrote: > I want to express the following constraint using XML schema : > > An unbounded sequence of (A or B) elements which can contain at > most n instances of A. > > To illiustrate, I set n = 2. In that case, BABBBBBABBB is valid. > So is AABB . BABABA is not valid because there are more than 2 A > elements in it. No can do. Try Schematron. Bob
|
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








