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
Is xhtml and xml same?
How can I validate an xml document that uses xml namespaces?
What xpointer schemes are supported in this release?
How do I run an xslt file?
What are the three components in soap?
How do I undeclare an xml namespace prefix?
How do I convert a pdf to xml?
What is an xml spreadsheet?
How do I use the default xml namespace to refer to element type names in an xml namespace?
How do I add a rss feed?
Explain about xml signature?
What is Coding? Difference between Coding & Tagging
How do I get my rss feed?
Why is xml useful?
What program opens xsd files?