David Bourget <dbourget@videotron.ca> writes: > I might just not have well understood the current specs, but I think an > unordered compositor would be really great, I always missed this with > DTDs. That is, a compositor meaning "Any sequence of these elements, > within the limits of their minOccurs and maxOccurs attributes". > > Why: > To achieve the same result as in : > <!ELEMENT (foo | bar)*> > <!-- Foo and bar can appear zero or one time each --> > WITHOUT requiring to comments. That's what the 'all' group is for, except we don't support the 'zero' case. We'll probably fix that. <complexType> <all> <element ref='foo'/> <element ref='bar'/> </all> </complexType> ht -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh W3C Fellow 1999--2001, part-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/Received on Wednesday, 8 March 2000 03:34:25 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 October 2007 06:13:16 GMT