We see what you are trying to do, what would be probably better rather than creating an extension, How about a more helpful / generic pre-processor
Wiki --> XML And then you can add your own pre-processor extensions to say add BBCode->XML Then you can use your wiki->XML to change the wiki page into a valid XML document to be transformed into FO by xsl and then to pdf. Example: **this is a header** --> <para style="header2">this is a header</para> Kindest regards Theresa Forster Senior Software Developer --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org