M
Moth
On my first night with schemas, things are not proceeding according to
expectations. Given three distinct complexType layouts:
<sequence> multiple elements in strict sequence
<choice> one element singled out from group of elements
<all> multiple elements in no particular order, each represented
only once
- how would you handle a typical xhtml setup with multiple elements
represented any number of times in no particular order:
<h>Heading</h>
<p>Paragraph</p>
<p>Paragraph</p>
<h>Heading</h>
<p>Paragraph</p>
The implied maxOccur of "1" on the <all> container has really thrown
me off! Thanks for any insight you may provide.
expectations. Given three distinct complexType layouts:
<sequence> multiple elements in strict sequence
<choice> one element singled out from group of elements
<all> multiple elements in no particular order, each represented
only once
- how would you handle a typical xhtml setup with multiple elements
represented any number of times in no particular order:
<h>Heading</h>
<p>Paragraph</p>
<p>Paragraph</p>
<h>Heading</h>
<p>Paragraph</p>
The implied maxOccur of "1" on the <all> container has really thrown
me off! Thanks for any insight you may provide.