Declaring Mixed Content

...
  <define name="personContent">
    <element name="NAME">
      <interleave>
        <text />
        <element name="GIVEN">
          <text/>
        </element>
        <element name="FAMILY">
          <text/>
        </element>
      </interleave>
    </element>
  </define>
...

personContent =
  element NAME {
    text
    & element GIVEN  { text }
    & element FAMILY { text }
  }

Previous | Next | Top | Cafe con Leche

Copyright 2005 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified March 18, 2005