File: foo.rng

package info (click to toggle)
bsh 2.0b4-20
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, trixie
  • size: 4,224 kB
  • sloc: java: 23,431; xml: 4,500; sh: 139; makefile: 24
file content (70 lines) | stat: -rw-r--r-- 1,914 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="UTF-8"?>
<grammar ns="" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  <start>
    <element name="section">
      <oneOrMore>
        <choice>
          <text/>
          <element name="b">
            <data type="NCName"/>
          </element>
          <element name="br">
            <attribute name="CLEAR">
              <data type="NCName"/>
            </attribute>
          </element>
          <element name="em">
            <text/>
          </element>
          <element name="example">
            <text/>
          </element>
          <element name="h2">
            <text/>
          </element>
          <element name="h3">
            <text/>
          </element>
          <element name="img">
            <attribute name="src">
              <data type="NCName"/>
            </attribute>
          </element>
          <element name="name">
            <attribute name="filename">
              <data type="NCName"/>
            </attribute>
            <text/>
          </element>
          <element name="note">
            <text/>
          </element>
          <element name="p">
            <empty/>
          </element>
          <element name="pre">
            <text/>
          </element>
          <element name="table">
            <attribute name="border">
              <data type="integer"/>
            </attribute>
            <attribute name="cellpadding">
              <data type="integer"/>
            </attribute>
            <oneOrMore>
              <element name="tr">
                <element name="td">
                  <text/>
                </element>
              </element>
            </oneOrMore>
          </element>
          <element name="tip">
            <text/>
          </element>
        </choice>
      </oneOrMore>
    </element>
  </start>
</grammar>