[page Text Handler] [t1]Text Handler[t1] [section] The text handler will take the content of the tag and replace it in a template. The handler is implemented by the [javadoc hoglet,org.hoglet.handlers.core.TextHandler,lastid=y /] class and initialized via the [link xml-configured-processor.html]XML Configured Processor[link]. The template should be called: wrapper. It should contain a value: \[\[VALUE]], this value will be replaced with the content of the tag. Example: [hoglet] \[com]cvs checkout hoglet\[com] [hoglet] Becomes: [com]cvs checkout hoglet[com] [t3]Handler Options[t3] The handler does not use any options. [t3]Option Replacement[t3] The init element can, optionally, contain one or more replace elements. These elements should be used to define replacements of options (assigned to the tag) within the content of the tag, after the content has been placed within the wrapper. For instance using the following hoglet tag: [hoglet] \[page My Page Title] Some text. \[page] [hoglet] And then defining the handler with: [xml] \[TITLE]\[VALUE]]]> [xml] When the tag content is produced the \[TITLE] value will be replaced with option 1 defined for the page tag, in this case: My Page Title. [t3]XML Initialization[t3] The init element should contain a templates element, which in turn should contain a wrapper element containing the template to use. Example: [xml hoglet,data/tag-handlers.xml,/tagHandlers/handler@tag:com/init /] [/section] [/page]