ANY

Lars Marius Garshol larsga at step.de
Thu May 7 16:35:26 BST 1998


Ron Bourret wrote:
> 
> From "child elements," I assume the following:
> 
> 1) An element of type ANY can have zero or more children.

Correct.

> 2) An element of type ANY cannot contain PCDATA.  That is, it cannot have a
>    mixed content model.

Wrong.

<ANY-ELEMENT>lots of text and <MARKUP/> here</ANY-ELEMENT>

is valid XML.

--Lars M.

PS: This seems to be a candidate for a FAQ, a specification
clarification,
    as well as a good argument for comp.text.xml

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list