summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/schema/rng/xhtml-applet.rng
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/stex/schema/rng/xhtml-applet.rng')
-rw-r--r--Master/texmf-dist/source/latex/stex/schema/rng/xhtml-applet.rng47
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/stex/schema/rng/xhtml-applet.rng b/Master/texmf-dist/source/latex/stex/schema/rng/xhtml-applet.rng
new file mode 100644
index 00000000000..5913d0b3339
--- /dev/null
+++ b/Master/texmf-dist/source/latex/stex/schema/rng/xhtml-applet.rng
@@ -0,0 +1,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>