W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2003

update Script section of html from tidylib.

From: Renjith K.V <renjith@iceindia.com>
Date: Tue, 11 Feb 2003 12:53:02 +0530
Message-Id: <5.2.0.9.0.20030211124608.00a7d580@tvm.asianetindia.com>
To: html-tidy@w3.org

I need to update script section of the html through the tidylib
for eg.

<SCRIPT language=JavaScript1.2>
function funct1()
{
}
</SCRIPT>

should be updated to

<SCRIPT language=JavaScript1.2>
function funct1()
{
}
function new_function()
{
}
</SCRIPT>

ie I need to add one more function programmatically to script section of 
html document .

can i use function tidyNodeIsSCRIPT( <structTidyNode.htm>TidyNode tnod ); 
and proceed
please help me



Renjith.
Received on Tuesday, 11 February 2003 02:15:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:53 GMT