8.17.2012

XML Difference FAQs-1

1.Difference between XML 1.0 and XML 1.1
S.No
XML 1.0
XML 1.1
1
XML 1.0 is backward compatible.
Unlike XML 1.0, XML 1.1 is forward compatible with the Unicode Standard. XML 1.1 processor is able to process documents that use characters that will be allotted in future versions of the Unicode Standard.
2
In XML 1.0, no text characters are present to interpret the characters that are located at the end of the line.
XML 1.1 recognizes the characters at the end of line. New text characters have been introduced in order to correct the misalignment that is observed at the end of a line in XML.
3
Normalization and new name characters are not supported in the XML 1.0 version.
In XML 1.1, the NEL character (0x85) is normalized to a linefeed in text.
4
Ambiguity always exists in this version of XML 1.0 for coding the characters
A new set of control characters are introduced in XML 1.1 to support the characters that are ambiguous.
2.Difference between XML and XSLT
S.No
XML
XSLT
1
XML is used for storing data in a structured format.
XSLT is used for transforming and also for formatting XML file to display the content or to process the content.
2
XML does not perform transformation of data.
XSLT is a specialized language that performs transformation of one XML document into a different XML document. XSLT can also perform transformation of XML document into HTML document and XHTML document.
3
XPath is a specialized language that is used to address portions of the XML file.
XSLT will be using XPath for transformation and formatting of XML file.
3.Difference between XML and XHTML
S.No
XML
XHTML
1
XML is an extensible language but it is not very flexible.
XHTML provides both the flexibility and extensibility.
2
XML focuses mainly on the design.
XHTML can interpret the languages that are designed badly.
3
XML is used to create new internet languages.
XHTML mainly focuses on mobile applications and browsers. It also runs in variety of applications without enforcing any limitation based on the platforms.

No comments:

Post a Comment