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 xml xsd and xslt?
How do I create an xsl file for an xml file?
What is namespace in xslt?
How do I edit an xsl file?
Can I convert xml to csv?
what does xslt mean
What is an xml data?
Is xml hierarchical?
Do the default values of xmlns attributes declared in the dtd apply to the dtd?
Is docx a zip file?
Explain the working of xslt?
What is an xml file and how do I open it?
What is the use of stylesheet in xsl?
What happens if your atom feed fails the validation?
What is the purpose of an xml file?