Lecture E-Commerce - Chapter 20: eXtensable Markup Language (XML) (part III)

In this chapter students will be able to: review the basics of creating an XML document, imposing structure on XML documents using document type definition DTD, strengthening the data-modeling capabilities of XML using XML Schemas. | CSC 330 E-Commerce Teacher Ahmed Mumtaz Mustehsan GM-IT CIIT Islamabad Virtual Campus, CIIT COMSATS Institute of Information Technology T2-Lecture-5 eXtensable Markup Language (XML) Part - III For Lecture Material/Slides Thanks to: Objectives Part 1: Review The basics of creating an XML document Part 2: Imposing Structure on XML Documents using Document Type Definition DTD Part 3: Strengthening the data-modeling capabilities of XML Using XML Schemas T2-Lecture-5 Ahmed Mumtaz Mustehsan 1- Part 1: Review The basics of creating an XML document T2-Lecture-5 Ahmed Mumtaz Mustehsan 1- Part 1: A review of XML An Extensible Markup Language (XML) document describes the structure of data. XML and HTML have a similar syntax both derived from SGML XML has no mechanism to specify the format for presenting data to the user An XML document resides in its own file with an ‘.xml’ extension T2-Lecture-5 Ahmed Mumtaz Mustehsan 1- Main Components of an XML Document Elements: Attributes: Entities: < ( 1- The Basic Rules XML is case sensitive All start tags must have end tags Elements must be properly nested XML declaration is the first statement Every document must contain a root element Attribute values must have quotation marks Certain characters are reserved for parsing T2-Lecture-5 Ahmed Mumtaz Mustehsan 1- XML is different from HTML HTML is a Hyper Text Markup language Designed for a specific application, namely, displaying, viewing, presenting and linking hypertext documents XML describes structure (organization of data) and content (“semantics” the interpretation of data) XML is a subset of SGML (Standard Generalized Markup Language) T2-Lecture-5 Ahmed Mumtaz Mustehsan 1- An Address Book as an XML document Ahmed Mumtaz | CSC 330 E-Commerce Teacher Ahmed Mumtaz Mustehsan GM-IT CIIT Islamabad Virtual Campus, CIIT COMSATS Institute of Information Technology T2-Lecture-5 eXtensable Markup Language (XML) Part - III For Lecture Material/Slides Thanks to: Objectives Part 1: Review The basics of creating an XML document Part 2: Imposing Structure on XML Documents using Document Type Definition DTD Part 3: Strengthening the data-modeling capabilities of XML Using XML Schemas T2-Lecture-5 Ahmed Mumtaz Mustehsan 1- Part 1: Review The basics of creating an XML document T2-Lecture-5 Ahmed Mumtaz Mustehsan 1- Part 1: A review of XML An Extensible Markup Language (XML) document describes the structure of data. XML and HTML have a similar syntax both derived from SGML XML has no mechanism to specify the format for presenting data to the user An XML document resides in its own file with an ‘.xml’ extension T2-Lecture-5 Ahmed Mumtaz Mustehsan .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.