libxml-relaxng.html revision 2ad1dfffa032025ec70de5b4af878e9b092c79f3
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>relaxng</title><meta name="generator" content="DocBook XSL Stylesheets V1.48"><meta name="generator" content="GTK-Doc V1.1 (XML mode)"><style 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="ch01.html" title="Libxml Programming Notes"><link rel="previous" href="libxml-hash.html" title="hash"><link rel="next" href="libxml-xpathInternals.html" title="xpathInternals"></head><body text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="libxml-hash.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td><td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td><th width="100%" align="center">Gnome XML Library Reference Manual </th><td><a accesskey="n" href="libxml-xpathInternals.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="refentry"><a name="libxml-relaxng"></a><div class="titlepage"></div><div class="refnamediv"><h2>relaxng</h2><p>relaxng — </p></div><div class="refsynopsisdiv"><h2><h1 class="title"><a name="id2633488"></a>Synopsis</h1></h2><pre class="synopsis"> 32 33 34 35struct <a href="libxml-relaxng.html#xmlRelaxNG">xmlRelaxNG</a>; 36typedef <a href="libxml-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a>; 37void (<a href="libxml-relaxng.html#xmlRelaxNGValidityErrorFunc">*xmlRelaxNGValidityErrorFunc</a>) (void *ctx, 38 const char *msg, 39 ...); 40void (<a href="libxml-relaxng.html#xmlRelaxNGValidityWarningFunc">*xmlRelaxNGValidityWarningFunc</a>) 41 (void *ctx, 42 const char *msg, 43 ...); 44struct <a href="libxml-relaxng.html#xmlRelaxNGParserCtxt">xmlRelaxNGParserCtxt</a>; 45typedef <a href="libxml-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a>; 46struct <a href="libxml-relaxng.html#xmlRelaxNGValidCtxt">xmlRelaxNGValidCtxt</a>; 47typedef <a href="libxml-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a>; 48enum <a href="libxml-relaxng.html#xmlRelaxNGValidErr">xmlRelaxNGValidErr</a>; 49</pre></div><div class="refsect1"><h2>Description</h2><p> 50 51</p></div><div class="refsect1"><h2>Details</h2><div class="refsect2"><h3><a name="xmlRelaxNG"></a>struct xmlRelaxNG</h3><pre class="programlisting">struct xmlRelaxNG;</pre><p> 52 53</p></div><hr><div class="refsect2"><h3><a name="xmlRelaxNGPtr"></a>xmlRelaxNGPtr</h3><pre class="programlisting">typedef xmlRelaxNG *xmlRelaxNGPtr; 54</pre><p> 55 56</p></div><hr><div class="refsect2"><h3><a name="xmlRelaxNGValidityErrorFunc"></a>xmlRelaxNGValidityErrorFunc ()</h3><pre class="programlisting">void (*xmlRelaxNGValidityErrorFunc) (void *ctx, 57 const char *msg, 58 ...);</pre><p> 59 60</p><div class="variablelist"><table border="0"><col align="left"><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td> 61</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td> 62</td></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td> 63 64 65</td></tr></tbody></table></div></div><hr><div class="refsect2"><h3><a name="xmlRelaxNGValidityWarningFunc"></a>xmlRelaxNGValidityWarningFunc ()</h3><pre class="programlisting">void (*xmlRelaxNGValidityWarningFunc) 66 (void *ctx, 67 const char *msg, 68 ...);</pre><p> 69 70</p><div class="variablelist"><table border="0"><col align="left"><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td> 71</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td> 72</td></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td> 73 74 75</td></tr></tbody></table></div></div><hr><div class="refsect2"><h3><a name="xmlRelaxNGParserCtxt"></a>struct xmlRelaxNGParserCtxt</h3><pre class="programlisting">struct xmlRelaxNGParserCtxt;</pre><p> 76 77</p></div><hr><div class="refsect2"><h3><a name="xmlRelaxNGParserCtxtPtr"></a>xmlRelaxNGParserCtxtPtr</h3><pre class="programlisting">typedef xmlRelaxNGParserCtxt *xmlRelaxNGParserCtxtPtr; 78</pre><p> 79 80</p></div><hr><div class="refsect2"><h3><a name="xmlRelaxNGValidCtxt"></a>struct xmlRelaxNGValidCtxt</h3><pre class="programlisting">struct xmlRelaxNGValidCtxt;</pre><p> 81A RelaxNGs validation context</p><p> 82 83</p></div><hr><div class="refsect2"><h3><a name="xmlRelaxNGValidCtxtPtr"></a>xmlRelaxNGValidCtxtPtr</h3><pre class="programlisting">typedef xmlRelaxNGValidCtxt *xmlRelaxNGValidCtxtPtr; 84</pre><p> 85 86</p></div><hr><div class="refsect2"><h3><a name="xmlRelaxNGValidErr"></a>enum xmlRelaxNGValidErr</h3><pre class="programlisting">typedef enum { 87 XML_RELAXNG_OK = 0, 88 XML_RELAXNG_ERR_MEMORY, 89 XML_RELAXNG_ERR_TYPE, 90 XML_RELAXNG_ERR_TYPEVAL, 91 XML_RELAXNG_ERR_DUPID, 92 XML_RELAXNG_ERR_TYPECMP, 93 XML_RELAXNG_ERR_NOSTATE, 94 XML_RELAXNG_ERR_NODEFINE, 95 XML_RELAXNG_ERR_LISTEXTRA, 96 XML_RELAXNG_ERR_LISTEMPTY, 97 XML_RELAXNG_ERR_INTERNODATA, 98 XML_RELAXNG_ERR_INTERSEQ, 99 XML_RELAXNG_ERR_INTEREXTRA, 100 XML_RELAXNG_ERR_ELEMNAME, 101 XML_RELAXNG_ERR_ATTRNAME, 102 XML_RELAXNG_ERR_ELEMNONS, 103 XML_RELAXNG_ERR_ATTRNONS, 104 XML_RELAXNG_ERR_ELEMWRONGNS, 105 XML_RELAXNG_ERR_ATTRWRONGNS, 106 XML_RELAXNG_ERR_ELEMEXTRANS, 107 XML_RELAXNG_ERR_ATTREXTRANS, 108 XML_RELAXNG_ERR_ELEMNOTEMPTY, 109 XML_RELAXNG_ERR_NOELEM, 110 XML_RELAXNG_ERR_NOTELEM, 111 XML_RELAXNG_ERR_ATTRVALID, 112 XML_RELAXNG_ERR_CONTENTVALID, 113 XML_RELAXNG_ERR_EXTRACONTENT, 114 XML_RELAXNG_ERR_INVALIDATTR, 115 XML_RELAXNG_ERR_DATAELEM, 116 XML_RELAXNG_ERR_VALELEM, 117 XML_RELAXNG_ERR_LISTELEM, 118 XML_RELAXNG_ERR_DATATYPE, 119 XML_RELAXNG_ERR_VALUE, 120 XML_RELAXNG_ERR_LIST, 121 XML_RELAXNG_ERR_NOGRAMMAR, 122 XML_RELAXNG_ERR_EXTRADATA, 123 XML_RELAXNG_ERR_LACKDATA, 124 XML_RELAXNG_ERR_INTERNAL, 125 XML_RELAXNG_ERR_ELEMWRONG, 126 XML_RELAXNG_ERR_TEXTWRONG 127} xmlRelaxNGValidErr; 128</pre><p> 129 130</p></div></div></div><table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"><td align="left"><a accesskey="p" href="libxml-hash.html"><b><<�hash</b></a></td><td align="right"><a accesskey="n" href="libxml-xpathInternals.html"><b>xpathInternals�>></b></a></td></tr></table></body></html> 131