Hi all, My question is this. Is it possible to embed an HTML page as an element within an XML document, like if I wanted to have something like <site> <name>Fubar</name> <htmlpage> ...this is where i'd want the html page </htmlpage> </site> How would this work/look? I hope my question makes sense. Thanks
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
5
posted
0
Yes, it is possible. However, you need to make sure that the resulting XML is still wellformed (which HTML is not, so you must encode certain special characters, fix <br> tags with not closing counterpart, etc.)