>Change:
>
>Body
>Div
>Script
>/script
>/div
>/body
>
>To
>
>Body
>Div
>/div
>Script
>/script
>/body
The content of the page I am grabbing to be put into a DIV doesn't have a DIV. And, the script inside it is right at the end as you mentioned in your second layout. The goal is to take only the part excluding the script. But, as mentioned in this thread by someone else, I guess I would have to do some parsing for that.
This was related to another issue and I was looking at that. As this has been resolved, I no longer need to do this now.
Thanks