summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/schema/rng/xhtml-hypertext.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-hypertext.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-hypertext.rng')
-rw-r--r--Master/texmf-dist/source/latex/stex/schema/rng/xhtml-hypertext.rng63
1 files changed, 63 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/stex/schema/rng/xhtml-hypertext.rng b/Master/texmf-dist/source/latex/stex/schema/rng/xhtml-hypertext.rng
new file mode 100644
index 00000000000..c926915bb7d
--- /dev/null
+++ b/Master/texmf-dist/source/latex/stex/schema/rng/xhtml-hypertext.rng
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+ <!-- Hypertext Module -->
+ <!-- Depends on text module. -->
+ <define name="a">
+ <element name="a">
+ <interleave>
+ <ref name="a.attlist"/>
+ <ref name="Inline.model"/>
+ </interleave>
+ </element>
+ </define>
+ <define name="a.attlist">
+ <interleave>
+ <ref name="Common.attrib"/>
+ <optional>
+ <attribute name="href">
+ <ref name="URI.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="charset">
+ <ref name="Charset.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="type">
+ <ref name="ContentType.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="hreflang">
+ <ref name="LanguageCode.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="rel">
+ <ref name="LinkTypes.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="rev">
+ <ref name="LinkTypes.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="accesskey">
+ <ref name="Character.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="tabindex">
+ <ref name="Number.datatype"/>
+ </attribute>
+ </optional>
+ </interleave>
+ </define>
+ <define name="Inline.class" combine="interleave">
+ <zeroOrMore>
+ <ref name="a"/>
+ </zeroOrMore>
+ </define>
+</grammar>