Parser modules
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.
<img> is an example of a plain tag while
<h1>...</h1> is an example of a container tag.
A parser module works by first register tags or container tags via
the register_tag_callers() and/or
register_container_callers() methods. The tags are
registered with name and callback method. Later, when the tag are
discovered by the Main RXML parser, its callback
method will be called.
The module type constant for parser modules is MODULE_PARSER.
|