Hi all,
I am using org.w3c.dom.* package.
I new a HTMLElement object.
I hava a HTMLDocument object.
HTMLElement ele;
ele = (HTMLElement) templetDoc.getBody().getElementsByTagName("body").item(0) ;
I want to get the innerHTML or outerHTML of the HTMLElement.
what can I do ?
<html>
<head>
</head>
******************outerHTML******************
<body>
******************innerHTML******************
<table id="1" >
<tr>
<td>
</td>
</tr>
<table>
<table id="2">
<tr>
<td>
</td>
</tr>
<table>
<!-- MY TAG="ENP" FONTSTYLE="LINKS" PAGE="PDF" TAG END-->
******************innerHTML******************
</body>
******************outerHTML******************
</html>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html