updated libxml2 to 2.5.10
[TestXSLT.git] / libxml2 / doc / html / libxml-schemasinternals.html
1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>schemasInternals</title><meta name="generator" content="DocBook XSL Stylesheets V1.58.1"><style xmlns="http://www.w3.org/TR/xhtml1/transitional" type="text/css">
2         .synopsis, .classsynopsis {
3             background: #eeeeee;
4             border: solid 1px #aaaaaa;
5             padding: 0.5em;
6         }
7         .programlisting {
8             background: #eeeeff;
9             border: solid 1px #aaaaff;
10             padding: 0.5em;
11         }
12         .variablelist {
13             padding: 4px;
14             margin-left: 3em;
15         }
16         .navigation {
17             background: #ffeeee;
18             border: solid 1px #ffaaaa;
19             margin-top: 0.5em;
20             margin-bottom: 0.5em;
21         }
22         .navigation a {
23             color: #770000;
24         }
25         .navigation a:visited {
26             color: #550000;
27         }
28         .navigation .title {
29             font-size: 200%;
30         }
31       </style><link rel="home" href="index.html" title="Gnome XML Library Reference Manual"><link rel="up" href="libxml-lib.html" title="Libxml Library Reference"><link rel="previous" href="libxml-xmlschemastypes.html" title="xmlschemastypes"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="libxml-xmlschemastypes.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></img></a></td><td><a accesskey="u" href="libxml-lib.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></img></a></td><td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></img></a></td><th width="100%" align="center">Gnome XML Library Reference Manual</th></tr></table><div class="refentry" lang="en"><a name="libxml-schemasInternals"></a><div class="titlepage"></div><div class="refnamediv"><h2>schemasInternals</h2><p>schemasInternals &#8212; </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">
32
33
34
35 enum        <a href="libxml-schemasInternals.html#xmlSchemaTypeType">xmlSchemaTypeType</a>;
36 enum        <a href="libxml-schemasInternals.html#xmlSchemaContentType">xmlSchemaContentType</a>;
37 struct      <a href="libxml-schemasInternals.html#xmlSchemaVal">xmlSchemaVal</a>;
38 typedef     <a href="libxml-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a>;
39 struct      <a href="libxml-schemasInternals.html#xmlSchemaType">xmlSchemaType</a>;
40 typedef     <a href="libxml-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a>;
41 struct      <a href="libxml-schemasInternals.html#xmlSchemaFacet">xmlSchemaFacet</a>;
42 typedef     <a href="libxml-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a>;
43 struct      <a href="libxml-schemasInternals.html#xmlSchemaAnnot">xmlSchemaAnnot</a>;
44 typedef     <a href="libxml-schemasInternals.html#xmlSchemaAnnotPtr">xmlSchemaAnnotPtr</a>;
45 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ANYATTR-SKIP-CAPS">XML_SCHEMAS_ANYATTR_SKIP</a>
46 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ANYATTR-LAX-CAPS">XML_SCHEMAS_ANYATTR_LAX</a>
47 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ANYATTR-STRICT-CAPS">XML_SCHEMAS_ANYATTR_STRICT</a>
48 struct      <a href="libxml-schemasInternals.html#xmlSchemaAttribute">xmlSchemaAttribute</a>;
49 typedef     <a href="libxml-schemasInternals.html#xmlSchemaAttributePtr">xmlSchemaAttributePtr</a>;
50 struct      <a href="libxml-schemasInternals.html#xmlSchemaAttributeGroup">xmlSchemaAttributeGroup</a>;
51 typedef     <a href="libxml-schemasInternals.html#xmlSchemaAttributeGroupPtr">xmlSchemaAttributeGroupPtr</a>;
52 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-TYPE-MIXED-CAPS">XML_SCHEMAS_TYPE_MIXED</a>
53 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ELEM-NILLABLE-CAPS">XML_SCHEMAS_ELEM_NILLABLE</a>
54 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ELEM-GLOBAL-CAPS">XML_SCHEMAS_ELEM_GLOBAL</a>
55 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ELEM-DEFAULT-CAPS">XML_SCHEMAS_ELEM_DEFAULT</a>
56 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ELEM-FIXED-CAPS">XML_SCHEMAS_ELEM_FIXED</a>
57 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ELEM-ABSTRACT-CAPS">XML_SCHEMAS_ELEM_ABSTRACT</a>
58 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ELEM-TOPLEVEL-CAPS">XML_SCHEMAS_ELEM_TOPLEVEL</a>
59 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ELEM-REF-CAPS">XML_SCHEMAS_ELEM_REF</a>
60 struct      <a href="libxml-schemasInternals.html#xmlSchemaElement">xmlSchemaElement</a>;
61 typedef     <a href="libxml-schemasInternals.html#xmlSchemaElementPtr">xmlSchemaElementPtr</a>;
62 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-FACET-UNKNOWN-CAPS">XML_SCHEMAS_FACET_UNKNOWN</a>
63 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-FACET-PRESERVE-CAPS">XML_SCHEMAS_FACET_PRESERVE</a>
64 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-FACET-REPLACE-CAPS">XML_SCHEMAS_FACET_REPLACE</a>
65 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-FACET-COLLAPSE-CAPS">XML_SCHEMAS_FACET_COLLAPSE</a>
66 struct      <a href="libxml-schemasInternals.html#xmlSchemaNotation">xmlSchemaNotation</a>;
67 typedef     <a href="libxml-schemasInternals.html#xmlSchemaNotationPtr">xmlSchemaNotationPtr</a>;
68 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-QUALIF-ELEM-CAPS">XML_SCHEMAS_QUALIF_ELEM</a>
69 #define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-QUALIF-ATTR-CAPS">XML_SCHEMAS_QUALIF_ATTR</a>
70 struct      <a href="libxml-xmlschemas.html#xmlSchema">xmlSchema</a>;
71 void        <a href="libxml-schemasInternals.html#xmlSchemaFreeType">xmlSchemaFreeType</a>               (<a href="libxml-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type);
72 </pre></div><div class="refsect1" lang="en"><h2>Description</h2><p>
73
74 </p></div><div class="refsect1" lang="en"><h2>Details</h2><div class="refsect2" lang="en"><h3><a name="xmlSchemaTypeType"></a>enum xmlSchemaTypeType</h3><pre class="programlisting">typedef enum {
75     XML_SCHEMA_TYPE_BASIC = 1,
76     XML_SCHEMA_TYPE_ANY,
77     XML_SCHEMA_TYPE_FACET,
78     XML_SCHEMA_TYPE_SIMPLE,
79     XML_SCHEMA_TYPE_COMPLEX,
80     XML_SCHEMA_TYPE_SEQUENCE,
81     XML_SCHEMA_TYPE_CHOICE,
82     XML_SCHEMA_TYPE_ALL,
83     XML_SCHEMA_TYPE_SIMPLE_CONTENT,
84     XML_SCHEMA_TYPE_COMPLEX_CONTENT,
85     XML_SCHEMA_TYPE_UR,
86     XML_SCHEMA_TYPE_RESTRICTION,
87     XML_SCHEMA_TYPE_EXTENSION,
88     XML_SCHEMA_TYPE_ELEMENT,
89     XML_SCHEMA_TYPE_ATTRIBUTE,
90     XML_SCHEMA_TYPE_ATTRIBUTEGROUP,
91     XML_SCHEMA_TYPE_GROUP,
92     XML_SCHEMA_TYPE_NOTATION,
93     XML_SCHEMA_TYPE_LIST,
94     XML_SCHEMA_TYPE_UNION,
95     XML_SCHEMA_FACET_MININCLUSIVE = 1000,
96     XML_SCHEMA_FACET_MINEXCLUSIVE,
97     XML_SCHEMA_FACET_MAXINCLUSIVE,
98     XML_SCHEMA_FACET_MAXEXCLUSIVE,
99     XML_SCHEMA_FACET_TOTALDIGITS,
100     XML_SCHEMA_FACET_FRACTIONDIGITS,
101     XML_SCHEMA_FACET_PATTERN,
102     XML_SCHEMA_FACET_ENUMERATION,
103     XML_SCHEMA_FACET_WHITESPACE,
104     XML_SCHEMA_FACET_LENGTH,
105     XML_SCHEMA_FACET_MAXLENGTH,
106     XML_SCHEMA_FACET_MINLENGTH
107 } xmlSchemaTypeType;
108 </pre><p>
109
110 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaContentType"></a>enum xmlSchemaContentType</h3><pre class="programlisting">typedef enum {
111     XML_SCHEMA_CONTENT_UNKNOWN = 0,
112     XML_SCHEMA_CONTENT_EMPTY = 1,
113     XML_SCHEMA_CONTENT_ELEMENTS,
114     XML_SCHEMA_CONTENT_MIXED,
115     XML_SCHEMA_CONTENT_SIMPLE,
116     XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS,
117     XML_SCHEMA_CONTENT_BASIC,
118     XML_SCHEMA_CONTENT_ANY
119 } xmlSchemaContentType;
120 </pre><p>
121
122 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaVal"></a>struct xmlSchemaVal</h3><pre class="programlisting">struct xmlSchemaVal;</pre><p>
123
124 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaValPtr"></a>xmlSchemaValPtr</h3><pre class="programlisting">typedef xmlSchemaVal *xmlSchemaValPtr;
125 </pre><p>
126
127 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaType"></a>struct xmlSchemaType</h3><pre class="programlisting">struct xmlSchemaType {
128     xmlSchemaTypeType type;     /* The kind of type */
129     struct _xmlSchemaType *next;/* the next type if in a sequence ... */
130     xmlChar *name;
131     xmlChar *id;
132     xmlChar *ref;
133     xmlChar *refNs;
134     xmlSchemaAnnotPtr annot;
135     xmlSchemaTypePtr subtypes;
136     xmlSchemaAttributePtr attributes;
137     xmlNodePtr node;
138     int minOccurs;
139     int maxOccurs;
140
141     int flags;
142     xmlSchemaContentType contentType;
143     xmlChar *base;
144     xmlChar *baseNs;
145     xmlSchemaTypePtr baseType;
146     xmlSchemaFacetPtr facets;
147 };
148 </pre><p>
149
150 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaTypePtr"></a>xmlSchemaTypePtr</h3><pre class="programlisting">typedef xmlSchemaType *xmlSchemaTypePtr;
151 </pre><p>
152
153 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaFacet"></a>struct xmlSchemaFacet</h3><pre class="programlisting">struct xmlSchemaFacet {
154     xmlSchemaTypeType type;     /* The kind of type */
155     struct _xmlSchemaFacet *next;/* the next type if in a sequence ... */
156     xmlChar *value;
157     xmlChar *id;
158     xmlSchemaAnnotPtr annot;
159     xmlNodePtr node;
160     int fixed;
161     int whitespace;
162     xmlSchemaValPtr val;
163     xmlRegexpPtr    regexp;
164 };
165 </pre><p>
166
167 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaFacetPtr"></a>xmlSchemaFacetPtr</h3><pre class="programlisting">typedef xmlSchemaFacet *xmlSchemaFacetPtr;
168 </pre><p>
169
170 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaAnnot"></a>struct xmlSchemaAnnot</h3><pre class="programlisting">struct xmlSchemaAnnot {
171     struct _xmlSchemaAnnot *next;
172     xmlNodePtr content;         /* the annotation */
173 };
174 </pre><p>
175
176 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaAnnotPtr"></a>xmlSchemaAnnotPtr</h3><pre class="programlisting">typedef xmlSchemaAnnot *xmlSchemaAnnotPtr;
177 </pre><p>
178
179 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-ANYATTR-SKIP-CAPS"></a>XML_SCHEMAS_ANYATTR_SKIP</h3><pre class="programlisting">#define XML_SCHEMAS_ANYATTR_SKIP   1
180 </pre><p>
181
182 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-ANYATTR-LAX-CAPS"></a>XML_SCHEMAS_ANYATTR_LAX</h3><pre class="programlisting">#define XML_SCHEMAS_ANYATTR_LAX              2
183 </pre><p>
184
185 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-ANYATTR-STRICT-CAPS"></a>XML_SCHEMAS_ANYATTR_STRICT</h3><pre class="programlisting">#define XML_SCHEMAS_ANYATTR_STRICT     3
186 </pre><p>
187
188 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaAttribute"></a>struct xmlSchemaAttribute</h3><pre class="programlisting">struct xmlSchemaAttribute {
189     xmlSchemaTypeType type;     /* The kind of type */
190     struct _xmlSchemaAttribute *next;/* the next attribute if in a group ... */
191     xmlChar *name;
192     xmlChar *id;
193     xmlChar *ref;
194     xmlChar *refNs;
195     xmlChar *typeName;
196     xmlChar *typeNs;
197     xmlSchemaAnnotPtr annot;
198
199     xmlSchemaTypePtr base;
200     int occurs;
201     xmlChar *defValue;
202     xmlSchemaTypePtr subtypes;
203     xmlNodePtr node;
204 };
205 </pre><p>
206
207 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaAttributePtr"></a>xmlSchemaAttributePtr</h3><pre class="programlisting">typedef xmlSchemaAttribute *xmlSchemaAttributePtr;
208 </pre><p>
209
210 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaAttributeGroup"></a>struct xmlSchemaAttributeGroup</h3><pre class="programlisting">struct xmlSchemaAttributeGroup {
211     xmlSchemaTypeType type;     /* The kind of type */
212     struct _xmlSchemaAttribute *next;/* the next attribute if in a group ... */
213     xmlChar *name;
214     xmlChar *id;
215     xmlChar *ref;
216     xmlChar *refNs;
217     xmlSchemaAnnotPtr annot;
218
219     xmlSchemaAttributePtr attributes;
220     xmlNodePtr node;
221 };
222 </pre><p>
223
224 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaAttributeGroupPtr"></a>xmlSchemaAttributeGroupPtr</h3><pre class="programlisting">typedef xmlSchemaAttributeGroup *xmlSchemaAttributeGroupPtr;
225 </pre><p>
226
227 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-TYPE-MIXED-CAPS"></a>XML_SCHEMAS_TYPE_MIXED</h3><pre class="programlisting">#define XML_SCHEMAS_TYPE_MIXED         1 &lt;&lt; 0
228 </pre><p>
229 the element content type is mixed</p><p>
230
231 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-ELEM-NILLABLE-CAPS"></a>XML_SCHEMAS_ELEM_NILLABLE</h3><pre class="programlisting">#define XML_SCHEMAS_ELEM_NILLABLE        1 &lt;&lt; 0
232 </pre><p>
233 the element is nillable</p><p>
234
235 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-ELEM-GLOBAL-CAPS"></a>XML_SCHEMAS_ELEM_GLOBAL</h3><pre class="programlisting">#define XML_SCHEMAS_ELEM_GLOBAL              1 &lt;&lt; 1
236 </pre><p>
237 the element is global</p><p>
238
239 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-ELEM-DEFAULT-CAPS"></a>XML_SCHEMAS_ELEM_DEFAULT</h3><pre class="programlisting">#define XML_SCHEMAS_ELEM_DEFAULT   1 &lt;&lt; 2
240 </pre><p>
241 the element has a default value</p><p>
242
243 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-ELEM-FIXED-CAPS"></a>XML_SCHEMAS_ELEM_FIXED</h3><pre class="programlisting">#define XML_SCHEMAS_ELEM_FIXED         1 &lt;&lt; 3
244 </pre><p>
245 the element has a fixed value</p><p>
246
247 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-ELEM-ABSTRACT-CAPS"></a>XML_SCHEMAS_ELEM_ABSTRACT</h3><pre class="programlisting">#define XML_SCHEMAS_ELEM_ABSTRACT        1 &lt;&lt; 4
248 </pre><p>
249 the element is abstract</p><p>
250
251 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-ELEM-TOPLEVEL-CAPS"></a>XML_SCHEMAS_ELEM_TOPLEVEL</h3><pre class="programlisting">#define XML_SCHEMAS_ELEM_TOPLEVEL        1 &lt;&lt; 5
252 </pre><p>
253 the element is top level</p><p>
254
255 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-ELEM-REF-CAPS"></a>XML_SCHEMAS_ELEM_REF</h3><pre class="programlisting">#define XML_SCHEMAS_ELEM_REF               1 &lt;&lt; 6
256 </pre><p>
257 the element is a reference to a type</p><p>
258
259 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaElement"></a>struct xmlSchemaElement</h3><pre class="programlisting">struct xmlSchemaElement {
260     xmlSchemaTypeType type;     /* The kind of type */
261     struct _xmlSchemaType *next;/* the next type if in a sequence ... */
262     xmlChar *name;
263     xmlChar *id;
264     xmlChar *ref;
265     xmlChar *refNs;
266     xmlSchemaAnnotPtr annot;
267     xmlSchemaTypePtr subtypes;
268     xmlSchemaAttributePtr attributes;
269     xmlNodePtr node;
270     int minOccurs;
271     int maxOccurs;
272
273     int flags;
274     xmlChar *targetNamespace;
275     xmlChar *namedType;
276     xmlChar *namedTypeNs;
277     xmlChar *substGroup;
278     xmlChar *substGroupNs;
279     xmlChar *scope;
280     xmlChar *value;
281     struct _xmlSchemaElement *refDecl;
282     xmlRegexpPtr contModel;
283     xmlSchemaContentType contentType;
284 };
285 </pre><p>
286 xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of
287 structures must be kept similar</p><p>
288
289 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaElementPtr"></a>xmlSchemaElementPtr</h3><pre class="programlisting">typedef xmlSchemaElement *xmlSchemaElementPtr;
290 </pre><p>
291
292 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-FACET-UNKNOWN-CAPS"></a>XML_SCHEMAS_FACET_UNKNOWN</h3><pre class="programlisting">#define XML_SCHEMAS_FACET_UNKNOWN        0
293 </pre><p>
294
295 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-FACET-PRESERVE-CAPS"></a>XML_SCHEMAS_FACET_PRESERVE</h3><pre class="programlisting">#define XML_SCHEMAS_FACET_PRESERVE     1
296 </pre><p>
297
298 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-FACET-REPLACE-CAPS"></a>XML_SCHEMAS_FACET_REPLACE</h3><pre class="programlisting">#define XML_SCHEMAS_FACET_REPLACE        2
299 </pre><p>
300
301 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-FACET-COLLAPSE-CAPS"></a>XML_SCHEMAS_FACET_COLLAPSE</h3><pre class="programlisting">#define XML_SCHEMAS_FACET_COLLAPSE     3
302 </pre><p>
303
304 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaNotation"></a>struct xmlSchemaNotation</h3><pre class="programlisting">struct xmlSchemaNotation {
305     xmlSchemaTypeType type;     /* The kind of type */
306     xmlChar *name;
307     xmlSchemaAnnotPtr annot;
308     xmlChar *identifier;
309 };
310 </pre><p>
311
312 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaNotationPtr"></a>xmlSchemaNotationPtr</h3><pre class="programlisting">typedef xmlSchemaNotation *xmlSchemaNotationPtr;
313 </pre><p>
314
315 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-QUALIF-ELEM-CAPS"></a>XML_SCHEMAS_QUALIF_ELEM</h3><pre class="programlisting">#define XML_SCHEMAS_QUALIF_ELEM              1 &lt;&lt; 0
316 </pre><p>
317 the shemas requires qualified elements</p><p>
318
319 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="XML-SCHEMAS-QUALIF-ATTR-CAPS"></a>XML_SCHEMAS_QUALIF_ATTR</h3><pre class="programlisting">#define XML_SCHEMAS_QUALIF_ATTR              1 &lt;&lt; 1
320 </pre><p>
321 the shemas requires qualified attributes</p><p>
322
323 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchema"></a>struct xmlSchema</h3><pre class="programlisting">struct xmlSchema {
324     xmlChar *name;        /* schema name */
325     xmlChar *targetNamespace;     /* the target namespace */
326     xmlChar *version;
327     xmlChar *id;
328     xmlDocPtr doc;
329     xmlSchemaAnnotPtr annot;
330     int flags;
331
332     xmlHashTablePtr typeDecl;
333     xmlHashTablePtr attrDecl;
334     xmlHashTablePtr attrgrpDecl;
335     xmlHashTablePtr elemDecl;
336     xmlHashTablePtr notaDecl;
337
338     xmlHashTablePtr schemasImports;
339
340     void *_private;     /* unused by the library for users or bindings */
341     xmlHashTablePtr groupDecl;
342 };
343 </pre><p>
344
345 </p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaFreeType"></a>xmlSchemaFreeType ()</h3><pre class="programlisting">void        xmlSchemaFreeType               (<a href="libxml-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type);</pre><p>
346 Deallocate a Schema Type structure.</p><p>
347
348 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>type</tt></i> :</span></td><td>  a schema type structure
349 </td></tr></tbody></table></div></div></div></div><table xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"><td align="left"><a accesskey="p" href="libxml-xmlschemastypes.html"><b>&lt;&lt; xmlschemastypes</b></a></td><td align="right"></td></tr></table></body></html>