Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 41 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
41
Dung lượng
364 KB
Nội dung
Introduction to XML Chapter 1
Core XML / Chapter 1 / Slide 2 of 35Chapter Objectives -1Discuss markup languageList and explain drawbacks of HTMLDiscuss the architecture of XML documentsList the benefits of XMLDiscuss Parser
Core XML / Chapter 1 / Slide 3 of 35Chapter Objectives -2Build a complete XML Document:Character DataCommentsProcessing InstructionsEntitiesGeneral EntitiesParameter EntitiesThe 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 LanguageA 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 documentStructure Markup – It defines the structure of the documentSemantic Markup – It determines the content of the document
Core XML / Chapter 1 / Slide 6 of 35SGMLGeneralized 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 SGMLIt 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 interpretationA SGML application is markup language derived from SGML.
Core XML / Chapter 1 / Slide 8 of 35HTMLHTML 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 HTMLFixed tag setPresentation technology does not relate to the contentsIt is flatCloggingHTML is not internationalData interchange is impossibleDoes not have a robust linking mechanismHTML 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