Dimitre Novatchev writes:
> Generally, it is not possible to specify a DTD and validate an xml
> document if the order of elements cannot be guaranteed. The
> solution is to model such unordered collections as attributes.
>
> Or am I wrong?
not if you use a DTD, but it is something the the schema languages
handle. if you don't to use them, have a content model of ANY, and
validate using an external mechanism like Schematron
sebastian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|