This presentation introduces XML and XHTML. It defines XML as an extensible markup language used to structure data that can be exchanged between systems. XML allows users to create their own tags and focuses on data rather than presentation. XHTML is then presented as a stricter version of HTML that is defined as an XML application. Some key advantages of XHTML are its extensibility, portability, and ability to future proof documents.
4. Introduction To XML
XML stand for Extensible Markup Language.
XML is a markup language much like HTML.
XML was designed to be self-descriptive.
XML was designed to be both human and machine-readable.
XML is used to structure data.
XML use Tags to structure data which are created by user.
XML is used to interchange data or data exchange.
5. Why Does XML Do?
– XML is just information Wrapped in tags.
– XML is used to carry data and transport data.
6. Why Study XML?
– XML plays an important role in many different IT system.
– XML is often for distributing data over the internet.
– It is important (for all types of software developers) to have a good
understanding of XML.
7. Characteristics of XML
– XML is extensible − XML allows you to create your own self-descriptive tags, or
language, that suits your application.
– XML carries the data, does not present it − XML allows you to store the data
irrespective of how it will be presented.
– XML is a public standard − XML was developed by an organization called the
World Wide Web Consortium (W3C) and is available as an open standard.
– XML can be used with different platforms like IOS, Android and windows etc.
– XML has widespread support of in multiple language like java, python etc.
8. Usage of XML
– XML is one of the most widely-used formats for sharing structured information
today: between programs, between people, between computers and people,
both locally and across networks. If you are already familiar with HTML, you
can see that XML is very similar.
– XML can be used to exchange the information between organizations and
systems.
– XML can be used for offloading and reloading of databases.
– XML can be used to store and arrange the data, which can customize your data
handling needs.
– Virtually, any type of data can be expressed as an XML document.
10. Difference Between XML & HTML
HTML
HTML was designed to display
data.
Focuses on how data looks.
Tags are predefined.
Tags are not case sensitive.
HTML file has .html extension.
XML
XML was designed to carry data
and transport data.
Focuses on what data is.
Tags are not predefined
Tags are case sensitive.
XML file has .xml extentsion.
11. What is XHTML?
– XHTML stands for Extensible Hypertext Markup Language.
– XHTML is a stricter, more XML-based version of HTML.
– XHTML is HTML defined as an XML application.
– XHTML is supported by all major browsers.
12. Advantages of XHTML
– 1. Extensibility: As we can define and use our own tags, we can implement new
ideas as web communication and presentation logic emerge.
– 2. Portability: As it follows the standards of XML, processing becomes easy and
effortless for XML parsers. This is important in terms of mobile devices and
small devices which contain small processors with less power. Portable
advantage means we can develop a document as per the specific requirement
whenever needed.
13. Cont…
– 3. Easy to Maintain: As the rules are clear in XHTML, the margin for errors is
less. The structure is more apparent, and problem syntax is easier to spot;
therefore, it is easy to author and maintain.
– 4. Ready for the future: The documents will be easily upgraded to the new
version to take advantage of new features.
14. Disadvantages of XHTML
– There are no such direct disadvantages, but we will say there are few
limitations:
– It does not solve all cross-browser comb ability issues.
– It is difficult to begin as it is stricter, and sometimes you must think while
coming up with new element names.
15. What Is the Relation between
XHTML and HTTP?
– HTTP (Hyper-Text Transfer Protocol) is an Internet communication protocol, that
allows a viewer's computer talking to a publisher's computer to fetch XHTML
documents.