libxml-schemasInternals.html revision c6e07559fa002911c7a14b696c4f69d481b54802
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.60.1"><meta xmlns="http://www.w3.org/TR/xhtml1/transitional" name="generator" content="GTK-Doc V1.0 (XML mode)"></meta><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="[Insert name here] Reference Manual"><link rel="up" href="ch01.html" title="[Insert title here]"><link rel="previous" href="libxml-nanoftp.html" title="nanoftp"><link rel="next" href="libxml-threads.html" title="threads"></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-nanoftp.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></img></a></td><td><a accesskey="u" href="ch01.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">[Insert name here] Reference Manual</th><td><a accesskey="n" href="libxml-threads.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></img></a></td></tr></table><div class="refentry" lang="en"><a name="libxml-schemasInternals"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2><span class="refentrytitle">schemasInternals</span></h2><p>schemasInternals &#8212; </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">
32
33
34
35enum        <a href="libxml-schemasInternals.html#xmlSchemaTypeType">xmlSchemaTypeType</a>;
36enum        <a href="libxml-schemasInternals.html#xmlSchemaContentType">xmlSchemaContentType</a>;
37struct      <a href="libxml-schemasInternals.html#xmlSchemaVal">xmlSchemaVal</a>;
38typedef     <a href="libxml-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a>;
39struct      <a href="libxml-schemasInternals.html#xmlSchemaType">xmlSchemaType</a>;
40typedef     <a href="libxml-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a>;
41struct      <a href="libxml-schemasInternals.html#xmlSchemaFacet">xmlSchemaFacet</a>;
42typedef     <a href="libxml-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a>;
43struct      <a href="libxml-schemasInternals.html#xmlSchemaAnnot">xmlSchemaAnnot</a>;
44typedef     <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>
48struct      <a href="libxml-schemasInternals.html#xmlSchemaAttribute">xmlSchemaAttribute</a>;
49typedef     <a href="libxml-schemasInternals.html#xmlSchemaAttributePtr">xmlSchemaAttributePtr</a>;
50struct      <a href="libxml-schemasInternals.html#xmlSchemaAttributeGroup">xmlSchemaAttributeGroup</a>;
51typedef     <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>
60struct      <a href="libxml-schemasInternals.html#xmlSchemaElement">xmlSchemaElement</a>;
61typedef     <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>
66struct      <a href="libxml-schemasInternals.html#xmlSchemaNotation">xmlSchemaNotation</a>;
67typedef     <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>
70struct      <a href="libxml-schemasInternals.html#xmlSchema">xmlSchema</a>;
71void        <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
129    xmlSchemaTypeType type;	/* The kind of type */
130    struct _xmlSchemaType *next;/* the next type if in a sequence ... */
131    xmlChar *name;
132    xmlChar *id;
133    xmlChar *ref;
134    xmlChar *refNs;
135    xmlSchemaAnnotPtr annot;
136    xmlSchemaTypePtr subtypes;
137    xmlSchemaAttributePtr attributes;
138    xmlNodePtr node;
139    int minOccurs;
140    int maxOccurs;
141
142    int flags;
143    xmlSchemaContentType contentType;
144    xmlChar *base;
145    xmlChar *baseNs;
146    xmlSchemaTypePtr baseType;
147    xmlSchemaFacetPtr facets;
148};
149</pre><p>
150
151</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;
152</pre><p>
153
154</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 {
155
156    xmlSchemaTypeType type;	/* The kind of type */
157    struct _xmlSchemaFacet *next;/* the next type if in a sequence ... */
158    xmlChar *value;
159    xmlChar *id;
160    xmlSchemaAnnotPtr annot;
161    xmlNodePtr node;
162    int fixed;
163    int whitespace;
164    xmlSchemaValPtr val;
165    xmlRegexpPtr    regexp;
166};
167</pre><p>
168
169</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;
170</pre><p>
171
172</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 {
173
174    struct _xmlSchemaAnnot *next;
175    xmlNodePtr content;         /* the annotation */
176};
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="xmlSchemaAnnotPtr"></a>xmlSchemaAnnotPtr</h3><pre class="programlisting">typedef xmlSchemaAnnot *xmlSchemaAnnotPtr;
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-SKIP-CAPS"></a>XML_SCHEMAS_ANYATTR_SKIP</h3><pre class="programlisting">#define XML_SCHEMAS_ANYATTR_SKIP	1
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-LAX-CAPS"></a>XML_SCHEMAS_ANYATTR_LAX</h3><pre class="programlisting">#define XML_SCHEMAS_ANYATTR_LAX		2
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="XML-SCHEMAS-ANYATTR-STRICT-CAPS"></a>XML_SCHEMAS_ANYATTR_STRICT</h3><pre class="programlisting">#define XML_SCHEMAS_ANYATTR_STRICT	3
189</pre><p>
190
191</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 {
192
193    xmlSchemaTypeType type;	/* The kind of type */
194    struct _xmlSchemaAttribute *next;/* the next attribute if in a group ... */
195    xmlChar *name;
196    xmlChar *id;
197    xmlChar *ref;
198    xmlChar *refNs;
199    xmlChar *typeName;
200    xmlChar *typeNs;
201    xmlSchemaAnnotPtr annot;
202
203    xmlSchemaTypePtr base;
204    int occurs;
205    xmlChar *defValue;
206    xmlSchemaTypePtr subtypes;
207    xmlNodePtr node;
208};
209</pre><p>
210
211</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;
212</pre><p>
213
214</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 {
215
216    xmlSchemaTypeType type;	/* The kind of type */
217    struct _xmlSchemaAttribute *next;/* the next attribute if in a group ... */
218    xmlChar *name;
219    xmlChar *id;
220    xmlChar *ref;
221    xmlChar *refNs;
222    xmlSchemaAnnotPtr annot;
223
224    xmlSchemaAttributePtr attributes;
225    xmlNodePtr node;
226};
227</pre><p>
228
229</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;
230</pre><p>
231
232</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
233</pre><p>
234the element content type is mixed</p><p>
235
236</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
237</pre><p>
238the element is nillable</p><p>
239
240</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
241</pre><p>
242the element is global</p><p>
243
244</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
245</pre><p>
246the element has a default value</p><p>
247
248</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
249</pre><p>
250the element has a fixed value</p><p>
251
252</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
253</pre><p>
254the element is abstract</p><p>
255
256</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
257</pre><p>
258the element is top level</p><p>
259
260</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
261</pre><p>
262the element is a reference to a type</p><p>
263
264</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 {
265
266    xmlSchemaTypeType type;	/* The kind of type */
267    struct _xmlSchemaType *next;/* the next type if in a sequence ... */
268    xmlChar *name;
269    xmlChar *id;
270    xmlChar *ref;
271    xmlChar *refNs;
272    xmlSchemaAnnotPtr annot;
273    xmlSchemaTypePtr subtypes;
274    xmlSchemaAttributePtr attributes;
275    xmlNodePtr node;
276    int minOccurs;
277    int maxOccurs;
278
279    int flags;
280    xmlChar *targetNamespace;
281    xmlChar *namedType;
282    xmlChar *namedTypeNs;
283    xmlChar *substGroup;
284    xmlChar *substGroupNs;
285    xmlChar *scope;
286    xmlChar *value;
287    struct _xmlSchemaElement *refDecl;
288    xmlRegexpPtr contModel;
289    xmlSchemaContentType contentType;
290};
291</pre><p>
292xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of
293structures must be kept similar</p><p>
294
295</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;
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-UNKNOWN-CAPS"></a>XML_SCHEMAS_FACET_UNKNOWN</h3><pre class="programlisting">#define XML_SCHEMAS_FACET_UNKNOWN	0
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-PRESERVE-CAPS"></a>XML_SCHEMAS_FACET_PRESERVE</h3><pre class="programlisting">#define XML_SCHEMAS_FACET_PRESERVE	1
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="XML-SCHEMAS-FACET-REPLACE-CAPS"></a>XML_SCHEMAS_FACET_REPLACE</h3><pre class="programlisting">#define XML_SCHEMAS_FACET_REPLACE	2
305</pre><p>
306
307</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
308</pre><p>
309
310</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 {
311
312    xmlSchemaTypeType type;	/* The kind of type */
313    xmlChar *name;
314    xmlSchemaAnnotPtr annot;
315    xmlChar *identifier;
316};
317</pre><p>
318
319</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;
320</pre><p>
321
322</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
323</pre><p>
324the shemas requires qualified elements</p><p>
325
326</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
327</pre><p>
328the shemas requires qualified attributes</p><p>
329
330</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 {
331
332    xmlChar *name;        /* schema name */
333    xmlChar *targetNamespace;     /* the target namespace */
334    xmlChar *version;
335    xmlChar *id;
336    xmlDocPtr doc;
337    xmlSchemaAnnotPtr annot;
338    int flags;
339
340    xmlHashTablePtr typeDecl;
341    xmlHashTablePtr attrDecl;
342    xmlHashTablePtr attrgrpDecl;
343    xmlHashTablePtr elemDecl;
344    xmlHashTablePtr notaDecl;
345
346    xmlHashTablePtr schemasImports;
347
348    void *_private;	/* unused by the library for users or bindings */
349    xmlHashTablePtr groupDecl;
350};
351</pre><p>
352
353</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>
354Deallocate a Schema Type structure.</p><p>
355
356</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>type</tt></i>�:</span></td><td>  a schema type structure
357</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-nanoftp.html"><b>&lt;&lt;�nanoftp</b></a></td><td align="right"><a accesskey="n" href="libxml-threads.html"><b>threads�&gt;&gt;</b></a></td></tr></table></body></html>
358