I am trying to include the source of a webpage within another. The embedded webpage has its own doctype, head and body declarations, and could have separate styles.
The trick here is that I wish to avoid an iframe, since I have the source available on the server-side, but not as an HTML page (I retrieve it from database).
I guess one way would be to create a page that would render it and then show it inside an iframe, but I aim at having one single page, though I did not find a way. Does anybody have a better suggestion?
I use jQuery in my application, so if I missed a solution there, this would be an option too.