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
What is the correct syntax when we define XML version?
Do you feel that you are a good XSLT programmer?
Is sql easy to learn?
What is the difference between call template and apply template?
Where is my rss feed?
Xlink markup design?
If an element or attribute is in the scope of an xml namespace declaration, is its name in that namespace?
Explain Processing Instructions mechanism ?
What is xml and its benefits?
What is dhtml and xml?
What is xmlns in html?
What is xml vs html?
Is using rss feeds legal?
What is identity template in xslt?
What is xpath descendant?