Answer Posted / g.h
Whether this is possible depends on the HTML document being
converted.
As a markup language, HTML is less strict than XML. It
allows certain tags to remain unclosed. This means certain
HTML documents can not be regarded as XML documents, since
they would not be well-formed. A decent XSLT processor would
fail to process such a message, either because it recognizes
the XML as not being well-formed or because the parser
reading the data for the processor does this.
An HTML document that conforms to the XML standard could be
processed by XSLT. HTML made XML-compliant is called XHTML.
This form is increasingly popular since it allows a large
array of XML tools to be used for HTML processing. XHTML
can, as such, always be processed with XSLT. Regular HTML
only if it doesn't violate the XML standard in some way.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Write a program to show literal result element as stylesheet?
Which xsl type is used for navigation in xml documents?
Can the content model in an element type declaration contain element types whose names come from other xml namespaces?
Provide an example of xml.
What is the stylesheet structure used with xslt?
Is xml a docx?
What is the difference between xml and xlsx?
Where is office xml handler located?
What is mean by xsl?
What is an xml map?
Define XPathNavigator class?
What is SAX?
Do you feel that you are a good XSLT programmer?
What is a unicode character?
What is xsl attribute?