1 / 15

XHTML,XML

XHTML,XML. M.Abdullah Mrian. What is the XHTML. Why XHTML ?. What is XML? XML stands for EXtensible Markup Language. XML is a markup language much like HTML. XML was designed to describe data. XML tags are not predefined. You must define your own tags

pennie
Download Presentation

XHTML,XML

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. XHTML,XML M.AbdullahMrian

  2. What is the XHTML

  3. Why XHTML ?

  4. What is XML? • XML stands for EXtensible Markup Language. • XML is a markup language much like HTML. • XML was designed to describe data. • XML tags are not predefined. You must define your own tags • XML uses a Document Type Definition (DTD) or an XML Schema to describe the data. • XML with a DTD or XML Schema is designed to be self-descriptive.

  5. The main difference between XML and HTML • XML was designed to carry data. • XML is not a replacement for HTML. • XML and HTML were designed with different goals: • XML was designed to describe data and to focus on what data is. • HTML was designed to display data and to focus on how data looks. • HTML is about displaying information, while XML is about describing information.

  6. XML does not DO anything • XML was not designed to DO anything. Maybe it is a little hard to understand, but XML does not DO anything. • XML was created to structure, store and to send information. • The following example is a note to Tove from Jani, stored as XML:

  7. What is XSL? • XSL stands for eXtensibleStylesheet Language. • CSS was designed for styling HTML pages, and can be used to • style XML pages. • XSL was designed specifically to style XML pages, and is much • more sophisticated than CSS. • XSL consists of three languages: • XSLT (XSL Transformations) is a language used to transform XML • documents into other kinds of documents (most commonly HTML, so they can be displayed). • XPath is a language to select parts of an XML document to transform with XSLT. • XSL-FO (XSL Formatting Objects) is a replacement for CSS.

More Related