summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/schema/rng/svg-style.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/svg-style.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/svg-style.rng')
-rw-r--r--Master/texmf-dist/source/latex/stex/schema/rng/svg-style.rng101
1 files changed, 101 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/stex/schema/rng/svg-style.rng b/Master/texmf-dist/source/latex/stex/schema/rng/svg-style.rng
new file mode 100644
index 00000000000..bc9b9a736f6
--- /dev/null
+++ b/Master/texmf-dist/source/latex/stex/schema/rng/svg-style.rng
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<grammar xml:lang="en" ns="http://www.w3.org/2000/svg" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
+ <a:documentation>
+ SVG 1.1 Style Module
+ file: svg-style.rng
+
+ This is SVG, a language for describing two-dimensional graphics in XML.
+ Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
+
+ $Id: svg-style.rng,v 1.1 2003/07/15 07:11:10 dean Exp $
+ </a:documentation>
+ <a:documentation>
+ Style
+
+ style
+
+ This module declares markup to provide support for stylesheet.
+ </a:documentation>
+ <a:documentation>
+ Datatypes
+ </a:documentation>
+ <define name="ClassList.datatype">
+ <data type="NMTOKENS"/>
+ </define>
+ <define name="StyleSheet.datatype">
+ <data type="string"/>
+ </define>
+ <define name="MediaDesc.datatype">
+ <a:documentation>
+ comma-separated list of media descriptors.
+ </a:documentation>
+ <data type="string"/>
+ </define>
+ <a:documentation>
+ SVG.Style.attrib
+ </a:documentation>
+ <define name="SVG.Style.extra.attrib">
+ <empty/>
+ </define>
+ <define name="SVG.Style.attrib" combine="interleave">
+ <optional>
+ <attribute name="style">
+ <ref name="StyleSheet.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="class">
+ <ref name="ClassList.datatype"/>
+ </attribute>
+ </optional>
+ <ref name="SVG.Style.extra.attrib"/>
+ </define>
+ <a:documentation>
+ SVG.Style.class
+ </a:documentation>
+ <define name="SVG.Style.extra.class">
+ <notAllowed/>
+ </define>
+ <define name="SVG.Style.class" combine="choice">
+ <choice>
+ <ref name="style"/>
+ <ref name="SVG.Style.extra.class"/>
+ </choice>
+ </define>
+ <a:documentation>
+ style: Style Element
+ </a:documentation>
+ <define name="SVG.style.content">
+ <text/>
+ </define>
+ <define name="style">
+ <element name="style">
+ <ref name="attlist.style"/>
+ <ref name="SVG.style.content"/>
+ </element>
+ </define>
+ <define name="attlist.style" combine="interleave">
+ <optional>
+ <attribute name="xml:space" a:defaultValue="preserve">
+ <value>preserve</value>
+ </attribute>
+ </optional>
+ <ref name="SVG.id.attrib"/>
+ <ref name="SVG.base.attrib"/>
+ <ref name="SVG.lang.attrib"/>
+ <ref name="SVG.Core.extra.attrib"/>
+ <attribute name="type">
+ <ref name="ContentType.datatype"/>
+ </attribute>
+ <optional>
+ <attribute name="media">
+ <ref name="MediaDesc.datatype"/>
+ </attribute>
+ </optional>
+ <optional>
+ <attribute name="title">
+ <ref name="Text.datatype"/>
+ </attribute>
+ </optional>
+ </define>
+</grammar>