Thank you very much for your kindly reply. I would like to know that the current web page (URL) and to buid a DOM tree. I can measure only static web page as HTML file by using my program . Because I need to extract the content of current web page dynamically and need to measure the quality of dynamic web page.
I am really getting confused as what you want to achieve!
Whenever you open a webpage in browser, browser automatically builds a DOM tree from that. You can then manipulate DOM tree i.e. add, remove, edit its nodes (content) using JavaScript.
Thank you for your kindly reply. I would like to explain it in detail. I assess the web page design quality using metrics based on the elements included in each web page such as number of words, number of link , image and page size and other attributes which can be affected on the quality of web page design. In this case, I can evaluate and measure only on static web page (only html page) and DOM can be built by using my own java program and . I really don’t know how to measure the quality of dynamic web page. i would like to know that can I measure the design of dynamic web page and how to measure it? How can I measure the changes of web content and how to extract it from java program or Javascript. I am really sorry that you are getting confused, Sir.