Home
-> XML Examples
-> Element type mixed (1)
Element type mixed (1)
<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE root
[
<!ELEMENT root ANY>
<!ELEMENT mixed (#PCDATA) >
]
>
<root>
<mixed></mixed>
<mixed> foo </mixed>
</root>
Notes
- It looks like you can require character data using this syntax, but you can't. No matter what you do, character data is optional.
Content of this site is ©
Wayne Conrad. All rights reserved.