Forum Moderators: open
So here's the question I've been kicking around:
Can I have a section of a page in a separate HTML file that can be embedded into a main HTML file? Something along the lines of <div id='menubar' src='menubar.html'>
I can see that you can use different namespaces in XHTML; Could I use that feature to insert code in another XHTML namespace instance? Something like this inside the body tag:
<body>
...
<html xmlns="blah blah..." src="menubar.html">
</html>
...
</body>
However, what you are trying to accomplish is easily done using any server side language. PHP includes, SSI, ASP, whatever.
Here's a thread in the PHP Library [webmasterworld.com] that may be of assistance: A dynamic site in 2 minutes [webmasterworld.com]