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
visitChildren( page.getPageHeader( ), null );
					
					r.closeTag( HTMLTags.TAG_DIV );
				}
			}
		}
		
		 
		r.openTag( HTMLTags.TAG_DIV );
		 ( page != null )
		{
			IContent pageBody = page.getPageBody( );
			IStyle bodyStyle = pageBody.getStyle( );
			String bodyStyleName = pageBody.getStyleClass( );
			
			Object genBy = page.getGenerateBy( );
			 ( genBy instanceof MasterPageDesign )
			{
				MasterPageDesign masterPage = (MasterPageDesign) genBy;
				StringBuffer styleBuffer = new StringBuffer( );
				 ( isEmbeddable )
				{
					AttributeBuilder.buildPageStyle( styleBuffer, bodyStyle, this );
				}
				else
				{
					IStyle classStyle = report.findStyle( bodyStyleName );
					AttributeBuilder.buildPageStyle( styleBuffer, classStyle, this );
				}
				( !pageFooterFloatFlag )
				{
					AttributeBuilder.buildSize( styleBuffer,
							HTMLTags.ATTR_MIN_HEIGHT,
							masterPage.getPageHeight( ) );
				}
				r.attribute( HTMLTags.ATTR_STYLE, styleBuffer.toString( ) );
			}
		}
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#endPage(org.eclipse.birt.report.engine.content.IPageContent)
	 *
	public void endPage( IPageContent page )
	{
		
		logger.log( Level.FINE, "[HTMLReportEmitter] End page." ); 
				
		r.closeTag( HTMLTags.TAG_DIV );
		
		
		 ( page != null )
		{
			 ( outputMasterPageContent )
			{
				boolean showFooter = true;
				Object genBy = page.getGenerateBy( );
				 ( genBy instanceof SimpleMasterPageDesign )
				{
					SimpleMasterPageDesign masterPage = (SimpleMasterPageDesign) genBy;
					 ( !masterPage.isShowFooterOnLast( ) )
					{
						long totalPage = page.getPageNumber( );
						IReportContent report = page.getReportContent( );
						 ( report != null )
						{
							totalPage = report.getTotalPage( );
						}
						 ( page.getPageNumber( ) ==  totalPage)
						{
							showFooter = false;
						}
					}
				}
				 ( showFooter )
				{
					
					r.openTag( HTMLTags.TAG_DIV );
					handlePageS