XML Document Design. Lesson 1: Introduction to XML. Objectives. Explain the basic concepts of markup languages List the goals of XML Describe the relationship between XML and HTML Name the organizations that govern and contribute to XML development Define XHTML
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.
Objectives • Explain the basic concepts of markup languages • List the goals of XML • Describe the relationship between XML and HTML • Name the organizations that govern and contribute to XML development • Define XHTML • Identify browsers that support XML
WhatIs XML? • Extensible Markup Language • Hypertext Markup Language • Tags <golfer tour=“PGA”> Tiger Woods </golfer>
SGMLRoots • STML and HTML • Meta-language • HTML went astray • HTML tried to recover its vision • Cascading Style Sheets • SGML and XML • Extensible Stylesheet Language
XMLDirectives • Design goals for XML • XML implementation
Benefitsof XML • One source • Management of metadata • Universal representation and meaning • Management of content • One to many • Database publishing
Summary • Explain the basic concepts of markup languages • List the goals of XML • Describe the relationship between XML and HTML • Name the organizations that govern and contribute to XML development • Define XHTML • Identify browsers that support XML
Objectives • Construct XML documents • Explain the differences between tags and elements in XML • Specify the five rules for creating a well-formed XML document • Convert an HTML document into an XHTML file • Create a well-formed XML document
What Is an XML Document? • HTML: The lazy developer’s dream • XML: The lazy developer’s nightmare
Rules forWell-Formed XML • Opening and closing tags • New rules for empty tags • Attribute values • Nesting • Matching case between tags • Simple well-formed XML • XHTML: Stepping stone to XML
Working withMixed Content • Creating a well-formed XML document from text • Adding comments to XML documents • XML encoding
Balkanizationof the Web • Confusing assortment of tags resulting from numerous tagging schemes
Summary • Construct XML documents • Explain the differences between tags and elements in XML • Specify the five rules for creating a well-formed XML document • Convert an HTML document into an XHTML file • Create a well-formed XML document
Objectives • Define the DTD • Define the DOM • Identify DTD declarations • Create a DTD • Validate an XML document • Create an XML file that conforms to a DTD • Use DTD repositories
Summary • Define the DTD • Define the DOM • Identify DTD declarations • Create a DTD • Validate an XML document • Create an XML file that conforms to a DTD • Use DTD repositories
Objectives • Explain the requirements for a parser • Identify the differences between validating and non-validating parsers • Use online parsers • Use command-line parsers
Parsers • Also known as processors • Varying levels of conformance • Object-based parsers • Event-based parsers • Validating parsers • Non-validating parsers
Command-LineParsing • Verifies document compliance with well-formedness requirements and DTD
Summary • Explain the requirements for a parser • Identify the differences between validating and non-validating parsers • Use online parsers • Use command-line parsers
Objectives • Define XML namespaces and usage • Explain the XPath recommendation • Explain the XLink recommendation • Explain the XPointer recommendation • Describe the XForms and XML Query proposals
TheXML Family • Namespaces in XML • XLink • XPath • XPointer
Namespacesin XML • Namespace components • Explicit and implicit namespace declaration • Multiple namespaces • Inline namespace declaration • Namespace scope/inheritance • Namespaces and DTDs • Namespace attributes
XPath • XML Path Language • XPath nodes • Document • Root • Element • Attribute • Text • Processing instruction • Namespace • Comment
XLink • XML Linking Language • Simple links • Extended links • Locators • Arcs • Resources • Titles • Link behavior
XPointer • Fragment identifier • Tracing a path • Shorthand notation • Shorthand syntax • Formal XPointer syntax • Range or portion selection
XFormsand XML Query • XForms • New generation of forms introducing business logic, calculations, and form processing • XML Query • Based pm XML Infoset
Summary • Define XML namespaces and usage • Explain the XPath recommendation • Explain the XLink recommendation • Explain the XPointer recommendation • Describe the XForms and XML Query proposals