How can I get all the content in a div element then strip out a table element leaving only what elements I want?
Assume a structure like
<div id="contents>
<p>Static text I want to offline into a file as a static comparison later</p>
<p>If the static content is updated by a change request I will detect the changes by a file compare</p>
<table><tr><td>this table is dynamic is updated with new values all the time</td></tr><t/able>
<p>More static content</p>
<ul><li>etc, etc</li></ul>
</div>
The notion is I store the statics in a file then iterating a test that can compare the current static elements to an offline file and let me know if there are changes.
I would like to be able to strip the table from the div wrapper and just see the whats left for the comparison.