Hi all,
I want to know which is the correct function I have to call in order to =
get a create toc plugin markup rendered.
For example:
I have the following in a var:
$plugin =3D '<?plugin CreateToc jshide||=3D0 with_toclink||=3D1 ?>';
Now I need to have the html version of the toc with titles formatted and =
correctly linked/anchored.
I imagine that there is some function I have to call and just pass to it =
the plugin markup to have the html toc. The RichTable plugin for =
instance could be rendered like I described:
Require_once("lib/BlockParser.php");
$xml_table =3D TransformText($plugin, 2.0, $the_pagename);
$html_table =3D $xml_table->AsXML();
Is it possible to have the html toc that way?
Thanks in advance,
-- Sabri.
|