On 30 Nov 2005 13:21:58 -0800,
wrote:
>I am trying to include and xml document inside my xhtml document.
It's not practical to do this. You might learn more by reading the
archives of ciwah (comp.infosystems.
www.authoring.html). Briefly though,
XHTML is still only usable on the web if it's served with a media type
of text/html, not an XML media type. In that context, it's now SGML/HTML
rather than XML, the non-XHTML tags aren't recognised and namespacing is
inappropriate.
If you're either working in a purely XML context (and I can't really
imagine how you'd get this to work) or if you can live with it "sort of"
working on some browsers and failing totally on others, then look into
XML namespacing.
There's also the old IE-specific technique of "data islands" with the
non-standard HTML extension tag of <XML>