-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.xsd
144 lines (122 loc) · 5.44 KB
/
config.xsd
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
136
137
138
139
140
141
142
143
144
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : config.xsd
Created on : August 2005
Author : Michal Kebrt
Description: XSL schema for configuration of html2latex program
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns="http://www.michalkebrt.cz/word2latex"
targetNamespace="http://www.michalkebrt.cz/word2latex"
xmlns="http://www.michalkebrt.cz/word2latex"
elementFormDefault="qualified">
<!-- root element -->
<xsd:element name='configuration' type='ns:ConfigurationType' />
<!-- content of the root element -->
<xsd:complexType name='ConfigurationType'>
<xsd:all>
<xsd:element name='elements' type='ns:ElementsType' />
<xsd:element name='chars' type='ns:CharsType' />
<xsd:element name='links' type='ns:LinksConversionType' />
<xsd:element name='charsNum' type='ns:CharsNumType' />
<xsd:element name='cssStyles' type='ns:CssPropertiesType' />
</xsd:all>
</xsd:complexType>
<!-- HTML tags (elements) -->
<xsd:complexType name='ElementsType'>
<xsd:sequence>
<xsd:element name='element' type='ns:ElementType' maxOccurs='unbounded' />
</xsd:sequence>
</xsd:complexType>
<!-- HTML tags (elements) -->
<xsd:complexType name='ElementType'>
<xsd:sequence>
<xsd:element name='start' type='xsd:string' />
<xsd:element name='end' type='xsd:string' />
</xsd:sequence>
<xsd:attribute name='name' type='xsd:string' />
<xsd:attribute name='ignoreContent' use='optional' default='no' type='ns:YesNoAttribute' />
<xsd:attribute name='leaveText' use='optional' default='no' type='ns:YesNoAttribute' />
<xsd:attribute name='ignoreStyle' use='optional' default='no' type='ns:YesNoAttribute' />
</xsd:complexType>
<!-- character entities -->
<xsd:complexType name='CharsType'>
<xsd:sequence>
<xsd:element name='char' type='ns:CharConversionType' maxOccurs='unbounded' />
</xsd:sequence>
</xsd:complexType>
<!-- character entities -->
<xsd:complexType name='CharConversionType'>
<xsd:complexContent>
<xsd:restriction base='xsd:anyType'>
<xsd:attribute name='name' type='xsd:string' />
<xsd:attribute name='convertTo' type='xsd:string' />