a loooong time ago, I was using the one from this page.

http://www.inria.fr/koala/jml/java/tools/index.html

very extensible since it's DTD based.


jm.




ZhangQi wrote:
>
> Hi all,
> I have a HTML like this:
>
> <html>
> <head>
> </head>
> <body>
> <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-->
> </body>
> </html>
>
> I plan to use java class to parse it and get a structure like below, but I can
> not find an extensible html parser. Can you give "it and its document" to me ?
> thank u !
> Yours,
> AidyZhang
>
> html
>  |_head
>  |
>  |_body
>     |_table  #also i can get Attribute:id=1,name=one etc.
>     |   |_tr
>     |     |_td
>     |_table  #also i can get Attribute:id=2,name=two etc.
>     |   |_tr
>     |     |_td
>     |_my tag #I can analyse "my tag" by using my class
>
> After analysis ,I will replace "my tag" with some JSP code .
>
> ===========================================================================
> 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

===========================================================================
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

Reply via email to