<html>
<head>
<title>Parser modules</title>
<meta name="keywords" content="">
</head>

<body bgcolor=#113377 text=#000000 vlink=#551a8b alink=#00c0ff link=#0000ee>




















































<table width=100% border=0>
<tr>
  <td valign=top>
  <table width=100% cellpadding=5 cellspacing=0 border=0>
    <tr><td bgcolor=white align=center>
       <img alt="" height=40 src="../../img/logga.gif" border=0 width=102>
    </td></tr>
    <tr><td valign=top>
      <img src=internal-roxen-unit width=1 height=3 alt="">
    </td></tr>
    <tr valign=top>
      <td bgcolor=white>




        <table cellpadding=0 cellspacing=0 border=0>
          
       <!--a1  Introduction manual.tmpl-->
    
            <tr><td><a href="../introduction/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../introduction/index.html"><if match="selected is "
		  ><b>Introduction</b></if
		><else>Introduction</else></a></td>
	    </tr>
    
          
       <!--a1  CGI and SSI manual.tmpl-->
    
            <tr><td><a href="../cgi/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../cgi/index.html"><if match="selected is "
		  ><b>CGI and SSI</b></if
		><else>CGI and SSI</else></a></td>
	    </tr>
    
          
       <!--a1  &lt;pike&gt; tag manual.tmpl-->
    
            <tr><td><a href="../pike-tag/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../pike-tag/index.html"><if match="selected is "
		  ><b>&lt;pike&gt; tag</b></if
		><else>&lt;pike&gt; tag</else></a></td>
	    </tr>
    
          
       <!--a1  Pike script manual.tmpl-->
    
            <tr><td><a href="../pike-scripts/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../pike-scripts/index.html"><if match="selected is "
		  ><b>Pike script</b></if
		><else>Pike script</else></a></td>
	    </tr>
    
          
       <!--a1  Modules manual.tmpl-->
    
            <tr><td><a href="../modules/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../modules/index.html"><if match="selected is "
		  ><b>Modules</b></if
		><else>Modules</else></a></td>
	    </tr>
    
          
       <!--a1  Parser modules manual.tmpl-->
    
            <tr><td><a href="index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="index.html"><if match="selected is selected"
		  ><b>Parser modules</b></if
		><else>Parser modules</else></a></td>
	    </tr>
    
          
	</table>
	
        <table cellpadding=0 cellspacing=0 border=0>
	  
      <!--b1  -->
    
	    <tr><td>&nbsp;&nbsp;<a href="query_tag_callers.html"><img border=0 src="../../img/page.gif"></a>&nbsp;</td>
	      <td><a href="query_tag_callers.html"><if match="selected is "
		  ><if match="manual.tmpl is tag.tmpl"
		    ><b>&lt;query_tag_callers()&gt;</b></if
		  ><else><b>query_tag_callers()</b></else></if
		><else
		  ><if match="manual.tmpl is tag.tmpl"
		    >&lt;query_tag_callers()&gt;</if
		  ><else>query_tag_callers()</else></else></a></td>
	    </tr>
    
	  
      <!--b1  -->
    
	    <tr><td>&nbsp;&nbsp;<a href="query_container_callers.html"><img border=0 src="../../img/page.gif"></a>&nbsp;</td>
	      <td><a href="query_container_callers.html"><if match="selected is "
		  ><if match="manual.tmpl is tag.tmpl"
		    ><b>&lt;query_container_callers()&gt;</b></if
		  ><else><b>query_container_callers()</b></else></if
		><else
		  ><if match="manual.tmpl is tag.tmpl"
		    >&lt;query_container_callers()&gt;</if
		  ><else>query_container_callers()</else></else></a></td>
	    </tr>
    
	  
        </table>

        <table cellpadding=0 cellspacing=0 border=0>
          
      <!--c1  -->
    
            <tr><td><a href="../location-modules/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../location-modules/index.html"><if match="selected is "
		  ><b>Location modules</b></if><else>Location modules</else></a></td>
	    </tr>
    
          
      <!--c1  -->
    
            <tr><td><a href="../other-modules/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../other-modules/index.html"><if match="selected is "
		  ><b>Other module types</b></if><else>Other module types</else></a></td>
	    </tr>
    
          
      <!--c1  -->
    
            <tr><td><a href="../id/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../id/index.html"><if match="selected is "
		  ><b>Request information object</b></if><else>Request information object</else></a></td>
	    </tr>
    
          
      <!--c1  -->
    
            <tr><td><a href="../responses/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../responses/index.html"><if match="selected is "
		  ><b>Responses</b></if><else>Responses</else></a></td>
	    </tr>
    
          
      <!--c1  -->
    
            <tr><td><a href="../library-methods/index.html"><img border=0 src="../../img/chapter.gif"></a>&nbsp;</td>
	      <td><a href="../library-methods/index.html"><if match="selected is "
		  ><b>Library methods</b></if><else>Library methods</else></a></td>
	    </tr>
    
          
	</table>

      </td>
    </tr>
    <tr><td height=100%>&nbsp;</td></tr>
  </table>
  </td>
  <td>
    <img src=internal-roxen-unit width=3 height=1 alt="">
  </td>

  <td valign=top>
    <table cellspacing=0 cellpadding=5 width=100% height=100% border=0>
    <tr>
      <td bgcolor=white>
       <b><font size=+2>Parser modules</font></b>

	<p>A parser modules handles one or several RXML tags. RXML tags comes in
two flavors, plain tags or container tags. The difference is that
container tags require an ending tag, and encloses content.
<doc><tt>{img}</tt></doc> is an example of a plain tag while
<doc><tt>{h1}...{/h1}</tt></doc> is an example of a container tag.

<p>A parser module works by first register tags or container tags via
the <tt>register_tag_callers()</tt> and/or
<tt>register_container_callers()</tt> methods. The tags are
registered with name and callback method. Later, when the tag are
discovered by the <i>Main RXML parser</i>, its callback
method will be called.

<p>The module type constant for parser modules is MODULE_PARSER.


      </td>
    </tr>
    </table>
  </td>
</tr>
<tr>
</table>
</body>
</html>
