Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML in XHTML

From: Andy Dingley <dingbat@----------.--->
To: 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>



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent