1. Trang chủ
  2. » Tất cả

TP1

41 214 1
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Nội dung

Introduction to XML Chapter 1 Core XML / Chapter 1 / Slide 2 of 35Chapter Objectives -1Discuss markup languageList and explain drawbacks of HTMLDiscuss the architecture of XML documentsList the benefits of XMLDiscuss Parser Core XML / Chapter 1 / Slide 3 of 35Chapter Objectives -2Build a complete XML Document:Character DataCommentsProcessing InstructionsEntitiesGeneral EntitiesParameter EntitiesThe DOCTYPE Declarations Core XML / Chapter 1 / Slide 4 of 35History of Markup Documents recorded using paper and penTypesetters formatting documentsTools used by typesetters to format a document Core XML / Chapter 1 / Slide 5 of 35Markup LanguageA Markup language defines the rules that help to add meaning to the content and structure of documents.They are classified as:Stylistic Markup – It determines the presentation of the documentStructure Markup – It defines the structure of the documentSemantic Markup – It determines the content of the document Core XML / Chapter 1 / Slide 6 of 35SGMLGeneralized Markup Language (GML) is the system of formatting documents.GML was fine-tuned and came to be known as Standard Generalized Markup Language (SGML).SGML is the source of origin of all markup languages Core XML / Chapter 1 / Slide 7 of 35Features of SGMLIt describes markup language, which allows authors to create their own tags that relate to their content.It needs a separate file that will contain all the rules for the language, for its interpretationA SGML application is markup language derived from SGML. Core XML / Chapter 1 / Slide 8 of 35HTMLHTML is the most famous markup language derived from SGML.It was created to mark up technical papers so that they could be transferred across different platforms for the scientific community.It is now also used by those non-scientific users who are concerned about their document’s presentation. Core XML / Chapter 1 / Slide 9 of 35Drawbacks of HTMLFixed tag setPresentation technology does not relate to the contentsIt is flatCloggingHTML is not internationalData interchange is impossibleDoes not have a robust linking mechanismHTML is not reusable Core XML / Chapter 1 / Slide 10 of 35HTML and XML code Examples<UL> <LI> TOM CRUISE <UL> <LI> CLIENT ID : 100 <LI> COMPANY : XYZ Corp. <LI> Email : tom@usa.net <LI> Phone : 3336767 <LI> Street Adress: 25th St. <LI> City : Toronto <LI> State : Toronto <LI> Zip : 20056 </UL></UL><Details> <CONTACT> <PERSON_NAME>TOM CRUISE </PERSON_NAME> <ID> 100 </ID> <Company>XYZ Corp. </Company> <Email> tom@usa.net</Email> <Phone> 3336767 </Phone> <Street> 25th St. </Street> <City> Toronto </City> <State> Toronto </State> <ZIP> 20056 </ZIP> </CONTACT></Details>HTML CodeXML Code 123doc.vn

Ngày đăng: 12/01/2013, 15:43

Xem thêm

TỪ KHÓA LIÊN QUAN

w