summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/schema/rnc/LaTeXML/svg-datatypes.rnc
blob: 7a3ea4b659f2ec56b4aa329bff84caa994e45b75 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"


## 
##     SVG 1.1 Datatypes Module
##     file: svg-datatypes.mod
## 
##     This is SVG, a language for describing two-dimensional graphics in XML.
##     Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved.
## 
##     $Id: svg-datatypes.rng,v 1.1 2003/07/15 07:11:10 dean Exp $
##   

## 
##     Datatypes
## 
##     This module declares common data types for properties and attributes.
##   

## 
##     feature specification
##   
[ xml:lang = "en" ]
grammar {
  Boolean.datatype = "false" | "true"
  
  ## 
  ##       'clip-rule' or 'fill-rule' property/attribute value
  ##     
  ClipFillRule.datatype = "nonzero" | "evenodd" | "inherit"
  
  ## 
  ##       media type, as per [RFC2045]
  ##     
  ContentType.datatype = xsd:string
  
  ## 
  ##       a <coordinate>
  ##     
  Coordinate.datatype = xsd:string
  
  ## 
  ##       a list of <coordinate>s
  ##     
  Coordinates.datatype = xsd:string
  
  ## 
  ##       a <color> value
  ##     
  Color.datatype = xsd:string
  
  ## 
  ##       a <integer>
  ##     
  Integer.datatype = xsd:string
  
  ## 
  ##       a language code, as per [RFC3066]
  ##     
  LanguageCode.datatype = xsd:language
  
  ## 
  ##       comma-separated list of language codes, as per [RFC3066]
  ##     
  LanguageCodes.datatype = xsd:string
  
  ## 
  ##       a <ength>
  ##     
  Length.datatype = xsd:string
  
  ## 
  ##       a list of <length>s
  ##     
  Lengths.datatype = xsd:string
  
  ## 
  ##       a <number>
  ##     
  Number.datatype = xsd:string
  
  ## 
  ##       a list of <number>s
  ##     
  Numbers.datatype = xsd:string
  
  ## 
  ##       opacity value (e.g., <number>)
  ##     
  OpacityValue.datatype = xsd:string
  
  ## 
  ##       a path data specification
  ##     
  PathData.datatype = xsd:string
  
  ## 
  ##       'preserveAspectRatio' attribute specification
  ##     
  PreserveAspectRatioSpec.datatype =
    xsd:string {
      pattern =
        "\s*(none|xMinYMin|xMidYMin|xMaxYMin|xMinYMid|xMidYMid|xMaxYMid|xMinYMax|xMidYMax|xMaxYMax)\s+(meet|slice)?\s*"
    }
  
  ## 
  ##       script expression
  ##     
  Script.datatype = xsd:string
  
  ## 
  ##       An SVG color value (RGB plus optional ICC)
  ##     
  SVGColor.datatype = xsd:string
  
  ## 
  ##       arbitrary text string
  ##     
  Text.datatype = xsd:string
  
  ## 
  ##       list of transforms
  ##     
  TransformList.datatype = xsd:string
  
  ## 
  ##       a Uniform Resource Identifier, see [URI]
  ##     
  URI.datatype = xsd:anyURI
  
  ## 
  ##       'viewBox' attribute specification
  ##     
  ViewBoxSpec.datatype = xsd:string
}