new dictionary module to keep a single instance of the names used by the
* dict.c include/libxml/dict.h Makefile.am include/libxml/Makefile.am:
new dictionary module to keep a single instance of the names used
by the parser
* DOCBparser.c HTMLparser.c parser.c parserInternals.c valid.c:
switched all parsers to use the dictionary internally
* include/libxml/HTMLparser.h include/libxml/parser.h
include/libxml/parserInternals.h include/libxml/valid.h:
Some of the interfaces changed as a result to receive or return
"const xmlChar *" instead of "xmlChar *", this is either
insignificant from an user point of view or when the returning
value changed, those function are really parser internal methods
that no user code should really change
* doc/libxml2-api.xml doc/html/*: the API interface changed and
the docs were regenerated
Daniel
diff --git a/doc/html/libxml-xmlautomata.html b/doc/html/libxml-xmlautomata.html
index bed5714..4cd07a4 100644
--- a/doc/html/libxml-xmlautomata.html
+++ b/doc/html/libxml-xmlautomata.html
@@ -1,4 +1,4 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>xmlautomata</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">
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>xmlautomata</title><meta name="generator" content="DocBook XSL Stylesheets V1.58.1"><style xmlns="http://www.w3.org/TR/xhtml1/transitional" type="text/css">
.synopsis, .classsynopsis {
background: #eeeeee;
border: solid 1px #aaaaaa;
@@ -28,7 +28,7 @@
.navigation .title {
font-size: 200%;
}
- </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-DOCBparser.html" title="DOCBparser"><link rel="next" 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-DOCBparser.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-xmlschemastypes.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-xmlautomata"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2><span class="refentrytitle">xmlautomata</span></h2><p>xmlautomata — </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">
+ </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-xmlregexp.html" title="xmlregexp"><link rel="next" href="libxml-xmlunicode.html" title="xmlunicode"></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-xmlregexp.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><td><a accesskey="n" href="libxml-xmlunicode.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-xmlautomata"></a><div class="titlepage"></div><div class="refnamediv"><h2>xmlautomata</h2><p>xmlautomata — </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">
@@ -113,23 +113,23 @@
</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlFreeAutomata"></a>xmlFreeAutomata ()</h3><pre class="programlisting">void xmlFreeAutomata (<a href="libxml-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am);</pre><p>
Free an automata</p><p>
-</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>am</tt></i> :</span></td><td> an automata
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>am</tt></i> :</span></td><td> an automata
</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlAutomataGetInitState"></a>xmlAutomataGetInitState ()</h3><pre class="programlisting"><a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataGetInitState (<a href="libxml-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am);</pre><p>
Initial state lookup</p><p>
-</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>am</tt></i> :</span></td><td> an automata
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>am</tt></i> :</span></td><td> an automata
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the initial state of the automata
</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlAutomataSetFinalState"></a>xmlAutomataSetFinalState ()</h3><pre class="programlisting">int xmlAutomataSetFinalState (<a href="libxml-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am,
<a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> state);</pre><p>
Makes that state a final state</p><p>
-</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>am</tt></i> :</span></td><td> an automata
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>state</tt></i> :</span></td><td> a state in this automata
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>am</tt></i> :</span></td><td> an automata
+</td></tr><tr><td><span class="term"><i><tt>state</tt></i> :</span></td><td> a state in this automata
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>0 or -1 in case of error
</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlAutomataNewState"></a>xmlAutomataNewState ()</h3><pre class="programlisting"><a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewState (<a href="libxml-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am);</pre><p>
Create a new disconnected state in the automata</p><p>
-</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>am</tt></i> :</span></td><td> an automata
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>am</tt></i> :</span></td><td> an automata
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the new state or NULL in case of error
</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlAutomataNewTransition"></a>xmlAutomataNewTransition ()</h3><pre class="programlisting"><a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewTransition
(<a href="libxml-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am,
@@ -137,15 +137,15 @@
<a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to,
const <a href="libxml-tree.html#xmlChar">xmlChar</a> *token,
void *data);</pre><p>
-If <i class="parameter"><tt>to</tt></i> is NULL, this create first a new target state in the automata
-and then adds a transition from the <i class="parameter"><tt>from</tt></i> state to the target state
-activated by the value of <i class="parameter"><tt>token</tt></i></p><p>
+If <i><tt>to</tt></i> is NULL, this create first a new target state in the automata
+and then adds a transition from the <i><tt>from</tt></i> state to the target state
+activated by the value of <i><tt>token</tt></i></p><p>
-</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>am</tt></i> :</span></td><td> an automata
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>from</tt></i> :</span></td><td> the starting point of the transition
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>token</tt></i> :</span></td><td> the input string associated to that transition
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>data</tt></i> :</span></td><td> data passed to the callback function if the transition is activated
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>am</tt></i> :</span></td><td> an automata
+</td></tr><tr><td><span class="term"><i><tt>from</tt></i> :</span></td><td> the starting point of the transition
+</td></tr><tr><td><span class="term"><i><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
+</td></tr><tr><td><span class="term"><i><tt>token</tt></i> :</span></td><td> the input string associated to that transition
+</td></tr><tr><td><span class="term"><i><tt>data</tt></i> :</span></td><td> data passed to the callback function if the transition is activated
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the target state or NULL in case of error
</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlAutomataNewTransition2"></a>xmlAutomataNewTransition2 ()</h3><pre class="programlisting"><a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewTransition2
(<a href="libxml-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am,
@@ -154,16 +154,16 @@
const <a href="libxml-tree.html#xmlChar">xmlChar</a> *token,
const <a href="libxml-tree.html#xmlChar">xmlChar</a> *token2,
void *data);</pre><p>
-If <i class="parameter"><tt>to</tt></i> is NULL, this create first a new target state in the automata
-and then adds a transition from the <i class="parameter"><tt>from</tt></i> state to the target state
-activated by the value of <i class="parameter"><tt>token</tt></i></p><p>
+If <i><tt>to</tt></i> is NULL, this create first a new target state in the automata
+and then adds a transition from the <i><tt>from</tt></i> state to the target state
+activated by the value of <i><tt>token</tt></i></p><p>
-</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>am</tt></i> :</span></td><td> an automata
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>from</tt></i> :</span></td><td> the starting point of the transition
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>token</tt></i> :</span></td><td> the first input string associated to that transition
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>token2</tt></i> :</span></td><td> the second input string associated to that transition
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>data</tt></i> :</span></td><td> data passed to the callback function if the transition is activated
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>am</tt></i> :</span></td><td> an automata
+</td></tr><tr><td><span class="term"><i><tt>from</tt></i> :</span></td><td> the starting point of the transition
+</td></tr><tr><td><span class="term"><i><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
+</td></tr><tr><td><span class="term"><i><tt>token</tt></i> :</span></td><td> the first input string associated to that transition
+</td></tr><tr><td><span class="term"><i><tt>token2</tt></i> :</span></td><td> the second input string associated to that transition
+</td></tr><tr><td><span class="term"><i><tt>data</tt></i> :</span></td><td> data passed to the callback function if the transition is activated
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the target state or NULL in case of error
</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlAutomataNewCountTrans"></a>xmlAutomataNewCountTrans ()</h3><pre class="programlisting"><a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewCountTrans
(<a href="libxml-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am,
@@ -173,18 +173,18 @@
int min,
int max,
void *data);</pre><p>
-If <i class="parameter"><tt>to</tt></i> is NULL, this create first a new target state in the automata
-and then adds a transition from the <i class="parameter"><tt>from</tt></i> state to the target state
-activated by a succession of input of value <i class="parameter"><tt>token</tt></i> and whose number
-is between <i class="parameter"><tt>min</tt></i> and <i class="parameter"><tt>max</tt></i></p><p>
+If <i><tt>to</tt></i> is NULL, this create first a new target state in the automata
+and then adds a transition from the <i><tt>from</tt></i> state to the target state
+activated by a succession of input of value <i><tt>token</tt></i> and whose number
+is between <i><tt>min</tt></i> and <i><tt>max</tt></i></p><p>
-</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>am</tt></i> :</span></td><td> an automata
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>from</tt></i> :</span></td><td> the starting point of the transition
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>token</tt></i> :</span></td><td> the input string associated to that transition
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>min</tt></i> :</span></td><td> the minimum successive occurences of token
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>max</tt></i> :</span></td><td> the maximum successive occurences of token
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>data</tt></i> :</span></td><td> data associated to the transition
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>am</tt></i> :</span></td><td> an automata
+</td></tr><tr><td><span class="term"><i><tt>from</tt></i> :</span></td><td> the starting point of the transition
+</td></tr><tr><td><span class="term"><i><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
+</td></tr><tr><td><span class="term"><i><tt>token</tt></i> :</span></td><td> the input string associated to that transition
+</td></tr><tr><td><span class="term"><i><tt>min</tt></i> :</span></td><td> the minimum successive occurences of token
+</td></tr><tr><td><span class="term"><i><tt>max</tt></i> :</span></td><td> the maximum successive occurences of token
+</td></tr><tr><td><span class="term"><i><tt>data</tt></i> :</span></td><td> data associated to the transition
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the target state or NULL in case of error
</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlAutomataNewOnceTrans"></a>xmlAutomataNewOnceTrans ()</h3><pre class="programlisting"><a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewOnceTrans (<a href="libxml-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am,
<a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from,
@@ -193,91 +193,91 @@
int min,
int max,
void *data);</pre><p>
-If <i class="parameter"><tt>to</tt></i> is NULL, this create first a new target state in the automata
-and then adds a transition from the <i class="parameter"><tt>from</tt></i> state to the target state
-activated by a succession of input of value <i class="parameter"><tt>token</tt></i> and whose number
-is between <i class="parameter"><tt>min</tt></i> and <i class="parameter"><tt>max</tt></i>, moreover that transistion can only be crossed
+If <i><tt>to</tt></i> is NULL, this create first a new target state in the automata
+and then adds a transition from the <i><tt>from</tt></i> state to the target state
+activated by a succession of input of value <i><tt>token</tt></i> and whose number
+is between <i><tt>min</tt></i> and <i><tt>max</tt></i>, moreover that transistion can only be crossed
once.</p><p>
-</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>am</tt></i> :</span></td><td> an automata
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>from</tt></i> :</span></td><td> the starting point of the transition
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>token</tt></i> :</span></td><td> the input string associated to that transition
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>min</tt></i> :</span></td><td> the minimum successive occurences of token
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>max</tt></i> :</span></td><td> the maximum successive occurences of token
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>data</tt></i> :</span></td><td> data associated to the transition
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>am</tt></i> :</span></td><td> an automata
+</td></tr><tr><td><span class="term"><i><tt>from</tt></i> :</span></td><td> the starting point of the transition
+</td></tr><tr><td><span class="term"><i><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
+</td></tr><tr><td><span class="term"><i><tt>token</tt></i> :</span></td><td> the input string associated to that transition
+</td></tr><tr><td><span class="term"><i><tt>min</tt></i> :</span></td><td> the minimum successive occurences of token
+</td></tr><tr><td><span class="term"><i><tt>max</tt></i> :</span></td><td> the maximum successive occurences of token
+</td></tr><tr><td><span class="term"><i><tt>data</tt></i> :</span></td><td> data associated to the transition
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the target state or NULL in case of error
</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlAutomataNewAllTrans"></a>xmlAutomataNewAllTrans ()</h3><pre class="programlisting"><a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewAllTrans (<a href="libxml-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am,
<a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from,
<a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to,
int lax);</pre><p>
-If <i class="parameter"><tt>to</tt></i> is NULL, this create first a new target state in the automata
-and then adds a an ALL transition from the <i class="parameter"><tt>from</tt></i> state to the
+If <i><tt>to</tt></i> is NULL, this create first a new target state in the automata
+and then adds a an ALL transition from the <i><tt>from</tt></i> state to the
target state. That transition is an epsilon transition allowed only when
-all transitions from the <i class="parameter"><tt>from</tt></i> node have been activated.</p><p>
+all transitions from the <i><tt>from</tt></i> node have been activated.</p><p>
-</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>am</tt></i> :</span></td><td> an automata
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>from</tt></i> :</span></td><td> the starting point of the transition
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>lax</tt></i> :</span></td><td> allow to transition if not all all transitions have been activated
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>am</tt></i> :</span></td><td> an automata
+</td></tr><tr><td><span class="term"><i><tt>from</tt></i> :</span></td><td> the starting point of the transition
+</td></tr><tr><td><span class="term"><i><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
+</td></tr><tr><td><span class="term"><i><tt>lax</tt></i> :</span></td><td> allow to transition if not all all transitions have been activated
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the target state or NULL in case of error
</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlAutomataNewEpsilon"></a>xmlAutomataNewEpsilon ()</h3><pre class="programlisting"><a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewEpsilon (<a href="libxml-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am,
<a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from,
<a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to);</pre><p>
-If <i class="parameter"><tt>to</tt></i> is NULL, this create first a new target state in the automata
-and then adds a an epsilon transition from the <i class="parameter"><tt>from</tt></i> state to the
+If <i><tt>to</tt></i> is NULL, this create first a new target state in the automata
+and then adds a an epsilon transition from the <i><tt>from</tt></i> state to the
target state</p><p>
-</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>am</tt></i> :</span></td><td> an automata
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>from</tt></i> :</span></td><td> the starting point of the transition
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>am</tt></i> :</span></td><td> an automata
+</td></tr><tr><td><span class="term"><i><tt>from</tt></i> :</span></td><td> the starting point of the transition
+</td></tr><tr><td><span class="term"><i><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the target state or NULL in case of error
</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlAutomataNewCountedTrans"></a>xmlAutomataNewCountedTrans ()</h3><pre class="programlisting"><a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewCountedTrans
(<a href="libxml-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am,
<a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from,
<a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to,
int counter);</pre><p>
-If <i class="parameter"><tt>to</tt></i> is NULL, this create first a new target state in the automata
-and then adds an epsilon transition from the <i class="parameter"><tt>from</tt></i> state to the target state
+If <i><tt>to</tt></i> is NULL, this create first a new target state in the automata
+and then adds an epsilon transition from the <i><tt>from</tt></i> state to the target state
which will increment the counter provided</p><p>
-</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>am</tt></i> :</span></td><td> an automata
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>from</tt></i> :</span></td><td> the starting point of the transition
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>counter</tt></i> :</span></td><td> the counter associated to that transition
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>am</tt></i> :</span></td><td> an automata
+</td></tr><tr><td><span class="term"><i><tt>from</tt></i> :</span></td><td> the starting point of the transition
+</td></tr><tr><td><span class="term"><i><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
+</td></tr><tr><td><span class="term"><i><tt>counter</tt></i> :</span></td><td> the counter associated to that transition
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the target state or NULL in case of error
</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlAutomataNewCounterTrans"></a>xmlAutomataNewCounterTrans ()</h3><pre class="programlisting"><a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> xmlAutomataNewCounterTrans
(<a href="libxml-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am,
<a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> from,
<a href="libxml-xmlautomata.html#xmlAutomataStatePtr">xmlAutomataStatePtr</a> to,
int counter);</pre><p>
-If <i class="parameter"><tt>to</tt></i> is NULL, this create first a new target state in the automata
-and then adds an epsilon transition from the <i class="parameter"><tt>from</tt></i> state to the target state
+If <i><tt>to</tt></i> is NULL, this create first a new target state in the automata
+and then adds an epsilon transition from the <i><tt>from</tt></i> state to the target state
which will be allowed only if the counter is within the right range.</p><p>
-</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>am</tt></i> :</span></td><td> an automata
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>from</tt></i> :</span></td><td> the starting point of the transition
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>counter</tt></i> :</span></td><td> the counter associated to that transition
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>am</tt></i> :</span></td><td> an automata
+</td></tr><tr><td><span class="term"><i><tt>from</tt></i> :</span></td><td> the starting point of the transition
+</td></tr><tr><td><span class="term"><i><tt>to</tt></i> :</span></td><td> the target point of the transition or NULL
+</td></tr><tr><td><span class="term"><i><tt>counter</tt></i> :</span></td><td> the counter associated to that transition
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the target state or NULL in case of error
</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlAutomataNewCounter"></a>xmlAutomataNewCounter ()</h3><pre class="programlisting">int xmlAutomataNewCounter (<a href="libxml-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am,
int min,
int max);</pre><p>
Create a new counter</p><p>
-</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>am</tt></i> :</span></td><td> an automata
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>min</tt></i> :</span></td><td> the minimal value on the counter
-</td></tr><tr><td><span class="term"><i class="parameter"><tt>max</tt></i> :</span></td><td> the maximal value on the counter
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>am</tt></i> :</span></td><td> an automata
+</td></tr><tr><td><span class="term"><i><tt>min</tt></i> :</span></td><td> the minimal value on the counter
+</td></tr><tr><td><span class="term"><i><tt>max</tt></i> :</span></td><td> the maximal value on the counter
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the counter number or -1 in case of error
</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlAutomataCompile"></a>xmlAutomataCompile ()</h3><pre class="programlisting"><a href="libxml-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> xmlAutomataCompile (<a href="libxml-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am);</pre><p>
Compile the automata into a Reg Exp ready for being executed.
The automata should be free after this point.</p><p>
-</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>am</tt></i> :</span></td><td> an automata
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>am</tt></i> :</span></td><td> an automata
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the compiled regexp or NULL in case of error
</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlAutomataIsDeterminist"></a>xmlAutomataIsDeterminist ()</h3><pre class="programlisting">int xmlAutomataIsDeterminist (<a href="libxml-xmlautomata.html#xmlAutomataPtr">xmlAutomataPtr</a> am);</pre><p>
Checks if an automata is determinist.</p><p>
-</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>am</tt></i> :</span></td><td> an automata
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>am</tt></i> :</span></td><td> an automata
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>1 if true, 0 if not, and -1 in case of error
-</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-DOCBparser.html"><b><< DOCBparser</b></a></td><td align="right"><a accesskey="n" href="libxml-xmlschemastypes.html"><b>xmlschemastypes >></b></a></td></tr></table></body></html>
+</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-xmlregexp.html"><b><< xmlregexp</b></a></td><td align="right"><a accesskey="n" href="libxml-xmlunicode.html"><b>xmlunicode >></b></a></td></tr></table></body></html>