summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/schema/rng/xhtml-applet.rng
blob: 5913d0b333985a32cae69f0ec0ee96a4f6e2339f (plain)
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
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
  <!-- Applet Module -->
  <define name="applet">
    <element name="applet">
      <ref name="applet.attlist"/>
      <zeroOrMore>
        <!-- No restrictions on mixed content in TREX. -->
        <ref name="param"/>
      </zeroOrMore>
      <ref name="Flow.model"/>
    </element>
  </define>
  <define name="applet.attlist">
    <interleave>
      <ref name="Core.attrib"/>
      <attribute name="alt">
        <ref name="Text.datatype"/>
      </attribute>
      <optional>
        <attribute name="archive"/>
      </optional>
      <optional>
        <attribute name="code"/>
      </optional>
      <optional>
        <attribute name="codebase">
          <ref name="URI.datatype"/>
        </attribute>
      </optional>
      <optional>
        <attribute name="object"/>
      </optional>
      <attribute name="height">
        <ref name="Length.datatype"/>
      </attribute>
      <attribute name="width">
        <ref name="Length.datatype"/>
      </attribute>
    </interleave>
  </define>
  <define name="Inline.class" combine="interleave">
    <zeroOrMore>
      <ref name="applet"/>
    </zeroOrMore>
  </define>
</grammar>