libxml-schemasInternals.html revision 93d95255e58d727fb69683646ec085d424bc34e7
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<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">
3        .synopsis, .classsynopsis {
4            background: #eeeeee;
5            border: solid 1px #aaaaaa;
6            padding: 0.5em;
7        }
8        .programlisting {
9            background: #eeeeff;
10            border: solid 1px #aaaaff;
11            padding: 0.5em;
12        }
13        .variablelist {
14            padding: 4px;
15            margin-left: 3em;
16        }
17        .navigation {
18            background: #ffeeee;
19            border: solid 1px #ffaaaa;
20            margin-top: 0.5em;
21            margin-bottom: 0.5em;
22        }
23        .navigation a {
24            color: #770000;
25        }
26        .navigation a:visited {
27            color: #550000;
28        }
29        .navigation .title {
30            font-size: 200%;
31        }
32      </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">
33
34
35
36enum        <a href="libxml-schemasInternals.html#xmlSchemaTypeType">xmlSchemaTypeType</a>;
37enum        <a href="libxml-schemasInternals.html#xmlSchemaContentType">xmlSchemaContentType</a>;
38struct      <a href="libxml-schemasInternals.html#xmlSchemaVal">xmlSchemaVal</a>;
39typedef     <a href="libxml-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a>;
40struct      <a href="libxml-schemasInternals.html#xmlSchemaType">xmlSchemaType</a>;
41typedef     <a href="libxml-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a>;
42struct      <a href="libxml-schemasInternals.html#xmlSchemaFacet">xmlSchemaFacet</a>;
43typedef     <a href="libxml-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a>;
44struct      <a href="libxml-schemasInternals.html#xmlSchemaAnnot">xmlSchemaAnnot</a>;
45typedef     <a href="libxml-schemasInternals.html#xmlSchemaAnnotPtr">xmlSchemaAnnotPtr</a>;
46#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ANYATTR-SKIP-CAPS">XML_SCHEMAS_ANYATTR_SKIP</a>
47#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ANYATTR-LAX-CAPS">XML_SCHEMAS_ANYATTR_LAX</a>
48#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ANYATTR-STRICT-CAPS">XML_SCHEMAS_ANYATTR_STRICT</a>
49struct      <a href="libxml-schemasInternals.html#xmlSchemaAttribute">xmlSchemaAttribute</a>;
50typedef     <a href="libxml-schemasInternals.html#xmlSchemaAttributePtr">xmlSchemaAttributePtr</a>;
51struct      <a href="libxml-schemasInternals.html#xmlSchemaAttributeGroup">xmlSchemaAttributeGroup</a>;
52typedef     <a href="libxml-schemasInternals.html#xmlSchemaAttributeGroupPtr">xmlSchemaAttributeGroupPtr</a>;
53#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-TYPE-MIXED-CAPS">XML_SCHEMAS_TYPE_MIXED</a>
54#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ELEM-NILLABLE-CAPS">XML_SCHEMAS_ELEM_NILLABLE</a>
55#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ELEM-GLOBAL-CAPS">XML_SCHEMAS_ELEM_GLOBAL</a>
56#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ELEM-DEFAULT-CAPS">XML_SCHEMAS_ELEM_DEFAULT</a>
57#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ELEM-FIXED-CAPS">XML_SCHEMAS_ELEM_FIXED</a>
58#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ELEM-ABSTRACT-CAPS">XML_SCHEMAS_ELEM_ABSTRACT</a>
59#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ELEM-TOPLEVEL-CAPS">XML_SCHEMAS_ELEM_TOPLEVEL</a>
60#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-ELEM-REF-CAPS">XML_SCHEMAS_ELEM_REF</a>
61struct      <a href="libxml-schemasInternals.html#xmlSchemaElement">xmlSchemaElement</a>;
62typedef     <a href="libxml-schemasInternals.html#xmlSchemaElementPtr">xmlSchemaElementPtr</a>;
63#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-FACET-UNKNOWN-CAPS">XML_SCHEMAS_FACET_UNKNOWN</a>
64#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-FACET-PRESERVE-CAPS">XML_SCHEMAS_FACET_PRESERVE</a>
65#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-FACET-REPLACE-CAPS">XML_SCHEMAS_FACET_REPLACE</a>
66#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-FACET-COLLAPSE-CAPS">XML_SCHEMAS_FACET_COLLAPSE</a>
67struct      <a href="libxml-schemasInternals.html#xmlSchemaNotation">xmlSchemaNotation</a>;
68typedef     <a href="libxml-schemasInternals.html#xmlSchemaNotationPtr">xmlSchemaNotationPtr</a>;
69#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-QUALIF-ELEM-CAPS">XML_SCHEMAS_QUALIF_ELEM</a>
70#define     <a href="libxml-schemasInternals.html#XML-SCHEMAS-QUALIF-ATTR-CAPS">XML_SCHEMAS_QUALIF_ATTR</a>
71struct      <a href="libxml-xmlschemas.html#xmlSchema">xmlSchema</a>;
72void        <a href="libxml-schemasInternals.html#xmlSchemaFreeType">xmlSchemaFreeType</a>               (<a href="libxml-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type);
73</pre></div><div class="refsect1" lang="en"><h2>Description</h2><p>
74
75</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 {
76    XML_SCHEMA_TYPE_BASIC = 1,
77    XML_SCHEMA_TYPE_ANY,
78    XML_SCHEMA_TYPE_FACET,
79    XML_SCHEMA_TYPE_SIMPLE,
80    XML_SCHEMA_TYPE_COMPLEX,
81    XML_SCHEMA_TYPE_SEQUENCE,
82    XML_SCHEMA_TYPE_CHOICE,
83    XML_SCHEMA_TYPE_ALL,
84    XML_SCHEMA_TYPE_SIMPLE_CONTENT,
85    XML_SCHEMA_TYPE_COMPLEX_CONTENT,
86    XML_SCHEMA_TYPE_UR,
87    XML_SCHEMA_TYPE_RESTRICTION,
88    XML_SCHEMA_TYPE_EXTENSION,
89    XML_SCHEMA_TYPE_ELEMENT,
90    XML_SCHEMA_TYPE_ATTRIBUTE,
91    XML_SCHEMA_TYPE_ATTRIBUTEGROUP,
92    XML_SCHEMA_TYPE_GROUP,
93    XML_SCHEMA_TYPE_NOTATION,
94    XML_SCHEMA_TYPE_LIST,
95    XML_SCHEMA_TYPE_UNION,
96    XML_SCHEMA_FACET_MININCLUSIVE = 1000,
97    XML_SCHEMA_FACET_MINEXCLUSIVE,
98    XML_SCHEMA_FACET_MAXINCLUSIVE,
99    XML_SCHEMA_FACET_MAXEXCLUSIVE,
100    XML_SCHEMA_FACET_TOTALDIGITS,
101    XML_SCHEMA_FACET_FRACTIONDIGITS,
102    XML_SCHEMA_FACET_PATTERN,
103    XML_SCHEMA_FACET_ENUMERATION,
104    XML_SCHEMA_FACET_WHITESPACE,
105    XML_SCHEMA_FACET_LENGTH,
106    XML_SCHEMA_FACET_MAXLENGTH,
107    XML_SCHEMA_FACET_MINLENGTH
108} xmlSchemaTypeType;
109</pre><p>
110
111</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 {
112    XML_SCHEMA_CONTENT_UNKNOWN = 0,
113    XML_SCHEMA_CONTENT_EMPTY = 1,
114    XML_SCHEMA_CONTENT_ELEMENTS,
115    XML_SCHEMA_CONTENT_MIXED,
116    XML_SCHEMA_CONTENT_SIMPLE,
117    XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS,
118    XML_SCHEMA_CONTENT_BASIC,
119    XML_SCHEMA_CONTENT_ANY
120} xmlSchemaContentType;
121</pre><p>
122
123</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>
124
125</p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaValPtr"></a>xmlSchemaValPtr</h3><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><p>
151
152</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 {
153    xmlSchemaTypeType type;	/* The kind of type */
154    struct _xmlSchemaFacet *next;/* the next type if in a sequence ... */
155    xmlChar *value;
156    xmlChar *id;
157    xmlSchemaAnnotPtr annot;
158    xmlNodePtr node;
159    int fixed;
160    int whitespace;
161    xmlSchemaValPtr val;
162    xmlRegexpPtr    regexp;
163};
164</pre><p>
165
166</p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaFacetPtr"></a>xmlSchemaFacetPtr</h3><p>
167
168</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 {
169    struct _xmlSchemaAnnot *next;
170    xmlNodePtr content;         /* the annotation */
171};
172</pre><p>
173
174</p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaAnnotPtr"></a>xmlSchemaAnnotPtr</h3><p>
175
176</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</pre><p>
177
178</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</pre><p>
179
180</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</pre><p>
181
182</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 {
183    xmlSchemaTypeType type;	/* The kind of type */
184    struct _xmlSchemaAttribute *next;/* the next attribute if in a group ... */
185    xmlChar *name;
186    xmlChar *id;
187    xmlChar *ref;
188    xmlChar *refNs;
189    xmlChar *typeName;
190    xmlChar *typeNs;
191    xmlSchemaAnnotPtr annot;
192
193    xmlSchemaTypePtr base;
194    int occurs;
195    xmlChar *defValue;
196    xmlSchemaTypePtr subtypes;
197};
198</pre><p>
199
200</p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaAttributePtr"></a>xmlSchemaAttributePtr</h3><p>
201
202</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 {
203    xmlSchemaTypeType type;	/* The kind of type */
204    struct _xmlSchemaAttribute *next;/* the next attribute if in a group ... */
205    xmlChar *name;
206    xmlChar *id;
207    xmlChar *ref;
208    xmlChar *refNs;
209    xmlSchemaAnnotPtr annot;
210
211    xmlSchemaAttributePtr attributes;
212};
213</pre><p>
214
215</p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaAttributeGroupPtr"></a>xmlSchemaAttributeGroupPtr</h3><p>
216
217</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</pre><p>
218the element content type is mixed</p><p>
219
220</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</pre><p>
221the element is nillable</p><p>
222
223</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</pre><p>
224the element is global</p><p>
225
226</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</pre><p>
227the element has a default value</p><p>
228
229</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</pre><p>
230the element has a fixed value</p><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-ELEM-ABSTRACT-CAPS"></a>XML_SCHEMAS_ELEM_ABSTRACT</h3><pre class="programlisting">#define     XML_SCHEMAS_ELEM_ABSTRACT</pre><p>
233the element is abstract</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-TOPLEVEL-CAPS"></a>XML_SCHEMAS_ELEM_TOPLEVEL</h3><pre class="programlisting">#define     XML_SCHEMAS_ELEM_TOPLEVEL</pre><p>
236the element is top level</p><p>
237
238</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</pre><p>
239the element is a reference to a type</p><p>
240
241</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 {
242    xmlSchemaTypeType type;	/* The kind of type */
243    struct _xmlSchemaType *next;/* the next type if in a sequence ... */
244    xmlChar *name;
245    xmlChar *id;
246    xmlChar *ref;
247    xmlChar *refNs;
248    xmlSchemaAnnotPtr annot;
249    xmlSchemaTypePtr subtypes;
250    xmlSchemaAttributePtr attributes;
251    xmlNodePtr node;
252    int minOccurs;
253    int maxOccurs;
254
255    int flags;
256    xmlChar *targetNamespace;
257    xmlChar *namedType;
258    xmlChar *namedTypeNs;
259    xmlChar *substGroup;
260    xmlChar *substGroupNs;
261    xmlChar *scope;
262    xmlChar *value;
263    struct _xmlSchemaElement *refDecl;
264    xmlRegexpPtr contModel;
265    xmlSchemaContentType contentType;
266};
267</pre><p>
268xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of
269structures must be kept similar</p><p>
270
271</p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaElementPtr"></a>xmlSchemaElementPtr</h3><p>
272
273</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</pre><p>
274
275</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</pre><p>
276
277</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</pre><p>
278
279</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</pre><p>
280
281</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 {
282    xmlSchemaTypeType type;	/* The kind of type */
283    xmlChar *name;
284    xmlSchemaAnnotPtr annot;
285    xmlChar *identifier;
286};
287</pre><p>
288
289</p></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSchemaNotationPtr"></a>xmlSchemaNotationPtr</h3><p>
290
291</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</pre><p>
292the shemas requires qualified elements</p><p>
293
294</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</pre><p>
295the shemas requires qualified attributes</p><p>
296
297</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 {
298    xmlChar *name;        /* schema name */
299    xmlChar *targetNamespace;     /* the target namespace */
300    xmlChar *version;
301    xmlChar *id;
302    xmlDocPtr doc;
303    xmlSchemaAnnotPtr annot;
304    int flags;
305
306    xmlHashTablePtr typeDecl;
307    xmlHashTablePtr attrDecl;
308    xmlHashTablePtr attrgrpDecl;
309    xmlHashTablePtr elemDecl;
310    xmlHashTablePtr notaDecl;
311
312    xmlHashTablePtr schemasImports;
313
314    void *_private;	/* unused by the library for users or bindings */
315};
316</pre><p>
317
318</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>
319Deallocate a Schema Type structure.</p><p>
320
321</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>
322
323
324</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>
325