Possible Duplicate:
xPath doesn't retrieve HTML as part of the content
I parse a web page with the help of xPath and retrieving the content of the div element, it omits HTML that is contained in that div element. How to make it retrieve the whole content of the div element with HTML included?