Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - XML in XHTML >Thread Next - Re: XML in XHTML Re: XML in XHTMLTo: NULL Date: 12/1/2005 2:29:00 AM On 30 Nov 2005 13:21:58 -0800, interfaced@g... 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> | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
