summaryrefslogtreecommitdiffstats
path: root/libxml2/test/relaxng/tutor12_1.rng
blob: 39026874d4e3cfa960ad64ffd8ae37ba0b7655a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<element name="addressBook" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:a="http://www.example.com/annotation">
  <zeroOrMore>
    <element name="card">
      <a:documentation>Information about a single email address.</a:documentation>
      <element name="name">
        <text/>
      </element>
      <element name="email">
        <text/>
      </element>
    </element>
  </zeroOrMore>
</element>