*/
public void generatePdf() throws TextMarkerException {
SAXParser parser;
try {
if(null == tagmap && null != tagmapData) {
this.tagmap = new TagMap(tagmapData);
}
parser = SAXParserFactory.newInstance().newSAXParser();
SAXmyHandler handler = new SAXmyHandler(document, tagmap);
parser.parse(xmlTemplate, handler);