Name
Mixed Content Element Type
Synopsis
<!ELEMENT
name
(#PCDATA
[
|
name]
+)*>
<!ELEMENT
name
(#PCDATA)>
Element declarations that include the #PCDATA
token can include text content
mixed with other nested elements that are declared in the
optional portion of the element declaration. If the #PCDATA
token is used, it is not
possible to limit the number of times or sequence in which other
nested elements are mixed with the parsed character data. If
only text content is desired, the asterisk is optional.
Get XML in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.