Is there any option to embedding xhtml in html?

爱⌒轻易说出口 提交于 2021-01-29 14:00:37

问题


I have an XML file, which has xsl style sheet with css and html. I wanted to embed this file in existing html. If any one has idea please help me to solve this problem.


回答1:


A very detailed answer to this question can be found in Norm Walsh's W3C task force report

https://www.w3.org/TR/html-xml-tf-report/

But for a one-line summary, section 2.4 asks "2.4 How can islands of XML be embedded in HTML?" and answers "In order to conceal the XML markup from an HTML5 parser's attempts to correct errors, the XML must be stored within a script element."



来源:https://stackoverflow.com/questions/59188628/is-there-any-option-to-embedding-xhtml-in-html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!