[
Lists Home |
Date Index |
Thread Index
]
>As far as I know, an element whose content is defined as ANY only has to be
>well-formed XML.
Not if you want your document to be valid.
You can either view ANY as meaning "any declared element", or as
meaning "any element at all", but if you take the latter view you have
to also note that those those child elements themselves will be
invalid if they are not declared.
(Since XML doesn't define validity of an element, only of a document,
these two views produce the same result.)
-- Richard
|