Bug 152834 support HTML description of the template
The template descrition is a fragment of HTML, use that fragment to render the template in HTML.
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
clipse.birt.report.engine.ir.LabelItemDesign;
import org.eclipse.birt.report.engine.ir.ListItemDesign;
import org.eclipse.birt.report.engine.ir.MasterPageDesign;
import org.eclipse.birt.report.engine.ir.Report;
import org.eclipse.birt.report.engine.ir.SimpleMasterPageDesign;
import org.eclipse.birt.report.engine.ir.TableItemDesign;
import org.eclipse.birt.report.engine.ir.TemplateDesign;
import org.eclipse.birt.report.engine.ir.TextItemDesign;
import org.eclipse.birt.report.engine.parser.TextParser;
import org.eclipse.birt.report.engine.presentation.ContentEmitterVisitor;
import org.eclipse.birt.report.model.api.IResourceLocator;
import org.eclipse.birt.report.model.api.ReportDesignHandle;
import org.eclipse.birt.report.model.api.core.IModuleModel;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
**
 * <code>HTMLReportEmitter<code> is a subclass of
 * <code>ContentEmitterAdapter<code> that implements IContentEmitter
 * interface to output IARD Report ojbects to HTML file.
 * 
 * <br>
 * Metadata information:<br>
 * <table border="solid;1px">
 * <tr>
 * <td rowspan="2">Item<td>
 * <td colspan="2">Output position<td>
 * <tr>
 * <tr>
 * <td>EnableMetadata=true<td>
 * <td>EnableMetadata=false<td>
 * <tr>
 * <tr>
 * <td>Container<td>
 * <td>On self<td>
 * <td>On self<td>
 * <tr>
 * <td>Table<td>
 * <td>On self<td>
 * <td>On self<td>
 * <tr>
 * <tr>
 * <td>Image<td>
 * <td>On container( for select handle )<td>
 * <td>Only bookmark is output on self<td>
 * <tr>
 * <tr>
 * <td>Chart<td>
 * <td>On container( for select handle )<td>
 * <td>Only bookmark is output on self<td>
 * <tr>
 * <tr>
 * <td>Foreign<td>
 * <td>On container( for select handle )<td>
 * <td>Only bookmark is output on self<td>
 * <tr>
 * <tr>
 * <td>Label<td>
 * <td>On container( for select handle )<td>
 * <td>Only bookmark is output on self<td>
 * <tr>
 * <tr>
 * <td>Template Items( including template table, temp