Element type mixed (2)

elementdecl-highlight-mixed mixed-highlight-2

example13.xml


<?xml version="1.0" encoding="US-ASCII"?>

<!DOCTYPE root
  [
  <!ELEMENT root ANY>
  <!ELEMENT mixed (#PCDATA | a)* >
  <!ELEMENT a EMPTY>
  ]
>

<root>

  <mixed></mixed>
  <mixed> foo </mixed>
  <mixed> <a/> </mixed>
  <mixed> foo <a/> bar <a/> <a/> </mixed>

</root>

Notes

Content of this site is © Wayne Conrad. All rights reserved.