summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/schema/rng/xhtml-applet.rng
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-03-30 23:23:02 +0000
committerKarl Berry <karl@freefriends.org>2012-03-30 23:23:02 +0000
commit849996eca72af498b48b10fbea7f14c4b9d21b8f (patch)
tree2d40d42dfc9fc0b0622212cc220868f98345305f /Master/texmf-dist/source/latex/stex/schema/rng/xhtml-applet.rng
parentd82e1c23973fd0271f93686f487bd1cee8dcd947 (diff)
restore stex (ca. 28jan12)
git-svn-id: svn://tug.org/texlive/trunk@25792 c570f23f-e606-0410-a88d-b1316a301751
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>