TAILIEUCHUNG - Lecture E-Commerce - Chapter 19: eXtensible Markup Language (XML) (part II)

Lecture E-Commerce - Chapter 19: eXtensible Markup Language (XML) (part II). In this chapter students will be able to: XML elements are extensible, XML attributes, XML namespaces, XML encoding, viewing XML files. | CSC 330 E-Commerce Teacher Ahmed Mumtaz Mustehsan GM-IT CIIT Islamabad Virtual Campus, CIIT COMSATS Institute of Information Technology T2-Lecture-4 eXtensible Markup Language (XML) Part - II For Lecture Material/Slides Thanks to: Objectives XML Elements are extensible XML Attributes XML Namespaces XML Encoding Viewing XML Files T2-Lecture-4 Ahmed Mumtaz Mustehsan XML Elements are Extensible XML elements can be extended to carry more information. Look at the following XML example: mumtaz tariq Dont forget to attend party on weekend! Lets imagine that we created an application that extracted the , , and elements from the XML document to produce this output: T2-Lecture-3 Ahmed Mumtaz Mustehsan Message To: Mumtaz From: Tariq Dont forget to attend party on weekend! XML Elements are Extensible Imagine that the author of the XML document added some extra information to it: 2008-01-10 Mumtaz Tariq Reminder Dont forget to attend party on weekend! Should the application break or crash? No. The application should still be able to find the , , and elements in the XML document and produce the same output. One of the beauty of XML, is that it can be extended without breaking applications. T2-Lecture-3 Ahmed Mumtaz Mustehsan Message To: Mumtaz From: Tariq Dont forget to attend party on weekend! XML Attributes XML Attributes In HTML, attributes provide additional information about elements: XML elements can have attributes, just like HTML. Attributes often provide information that is not a part of the data but it is information about data. Example The file type is irrelevant to the data, but can be important to the .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.