Bug 125052 Ability to embed javascript in the html output.
The main reason behind this enhancement is to provide interactivity in a static report. For example, consider the scenario where an application uses the birt report engine to export the reports to an html file. The exported html file has no interactivity such as sorting, hover over text, etc. With the ability to embed javascript in the html output exploiters can provide interactive reports. I would like to have the ability to provide the html renderer javascript to embed in the report or embed the url where the javascript is located.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/HTMLTextParser.java
*            the Node in the W3c DOM tree
	 * @see org.w3c.dom.Node
	 */
	private void copyNode( Node srcNode, Node desNode )
	{
		assert srcNode != null && desNode != null;
		
		
		for ( Node child = srcNode.getFirstChild( ); child != null; child = child
				.getNextSibling( ) )
		{
			
			
			if ( child.getNodeType( ) == Node.TEXT_NODE
					|| child.getNodeType( ) == Node.CDATA_SECTION_NODE )
			{
				Text txtNode = desNode.getOwnerDocument( ).createTextNode(
						child.getNodeValue( ) );
				desNode.appendChild( txtNode );
			}
			
			
			
			else if ( child.getNodeType( ) == Node.ELEMENT_NODE )
			{
				boolean bSupported = true;
				
				if ( !supportAllTags ){
					if ( !supportedTags.contains( child.getNodeName( ) ) )
				{