SlideShare ist ein Scribd-Unternehmen logo
1 von 118
<? xml ?> hussein suleman uct csc3003s 2006
Outline ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Markup Languages and XML
Markup ,[object Object],[object Object],[object Object],[object Object],[object Object],Is LaTeX outdated because of its markup language
Markup Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Can we build a parser for this ML?
SGML ,[object Object],[object Object],Why don’t we need a closing title tag?
HTML ,[object Object],[object Object],[object Object]
XML ,[object Object],[object Object]
Relationship SGML HTML XML XHTML v1.0 v1.0 v4.0 SEMANTICS STRUCTURE
XML Primer ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XML Sample ,[object Object],XML declaration comment DTD root element start tag/element entity end tag/element text attribute
Exercise 1: View XML ,[object Object],[object Object],[object Object]
Well-formedness ,[object Object],one root, proper nesting <uct>   <stuff>…   </stuff> </uct> multiple roots <uct>   <stuff>…   </stuff> </uct> <uct>   <otherstuff>…   </otherstuff> </uct> improper nesting <uct>   <stuff>… </uct>   </stuff>   
Validity ,[object Object],[object Object],[object Object],[object Object]
Levels of Correctness ,[object Object],[object Object],[object Object],[object Object],[object Object]
Exercise 2: View XML Error ,[object Object],[object Object],[object Object]
XML Structure
XML declaration ,[object Object],[object Object],[object Object],[object Object],[object Object],recommended for all: standalone recommended for most European languages: UTF-8
Unicode ,[object Object],[object Object],[object Object],[object Object],Common characters should take less space to store/transmit - less common characters can take more space!
UTF-16 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Ouch!
UTF-8 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],You mean we can’t actually write XML with Notepad/vi ?
Document Type Definition (DTD) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Elements / Tags ,[object Object],[object Object],[object Object],[object Object],[object Object]
Element Structure ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Does this work in HTML?
Special attributes ,[object Object],[object Object],[object Object],[object Object],[object Object]
Entities ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Byte Order Marker ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Exercise 3a: XML to store data ,[object Object],users 2006 date Markup & XML title machine name nithia john vusi 36 24 12
Exercise 3b: Handwritten XML ,[object Object],[object Object],[object Object],[object Object],[object Object]
Namespaces
XML Namespaces ,[object Object],[object Object],[object Object]
Default Namespaces ,[object Object],[object Object],[object Object],[object Object],Universal Resource Locator (URL) = location-specific Universal Resource Name (URN) = location-independent Universal Resource Identifier (URI) = generic identifier
Explicit Namespaces ,[object Object],[object Object],[object Object]
Can you rewrite the last example? ,[object Object],[object Object]
Exercise 4: Namespaces ,[object Object],[object Object],[object Object],[object Object],[object Object]
XML Parsing
Parsing XML ,[object Object],[object Object],[object Object],[object Object],[object Object],XML, SAX, DOM … is everything a TLA? application parser <?xml?> api
SAX ,[object Object],[object Object],[object Object],[object Object],[object Object]
SAX Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],What happened to the attributes? pseudo-code: startCallback  { output “start tag: “,tag } … main_program {    register_starthandler (startCallback)   …   do_parse }
DOM ,[object Object],[object Object],[object Object],W3C?
DOM Tree title author whitespace whitespace whitespace version whitespace whitespace number whitespace whitespace uct whitespace 1.0 test XML document Pat Pukram Attribute List email=pat@cs.uct.ac.za office=410 type=lecturer document
DOM Example ,[object Object],[object Object],[object Object],[object Object],Perl is popular for its text-processing capabilities. Java is popular because of its libraries and servlet support.
DOM Interface subset 1/3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
DOM Interface subset 2/3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
DOM Interface subset 3/3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
DOM Bindings ,[object Object],[object Object],[object Object],[object Object]
SAX vs. DOM ,[object Object],[object Object],[object Object],[object Object],there is another … actually, others
XML Schema
XML Schema ,[object Object],[object Object],[object Object]
Schema structure ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Sequences ,[object Object],[object Object],[object Object]
Nested Elements ,[object Object],[object Object]
Extensions ,[object Object],[object Object],[object Object],[object Object],[object Object]
Attributes ,[object Object],[object Object]
Named Types ,[object Object],[object Object]
Other Content Models ,[object Object],[object Object],[object Object],Many more details about content models can be found in specification!
Schema Namespaces ,[object Object],[object Object]
Full Schema 1/2 ,[object Object]
Full Schema 2/2 ,[object Object]
Binding XML Instances to Schemata ,[object Object],[object Object],[object Object],[object Object],[object Object]
Qualified Valid XML ,[object Object],cool trick: use one of Xerces’s sample programs, like dom.Counter with a “-v” parameter, to do Schema validation!
Validating XML (using Schema) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
W3C Schema Validator
Exercise 5a: XML Schema Validation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Exercise 5b: XML Schema Validation ,[object Object],[object Object],[object Object],[object Object],[object Object]
Exercise 5c: XML Schema Validation ,[object Object],[object Object],[object Object],[object Object],[object Object]
Exercise 5d: XML Schema Validation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Exercise 5e: XML Schema Validation ,[object Object],[object Object],[object Object],[object Object],[object Object]
Exercise 5f: XML Schema Validation ,[object Object],[object Object],[object Object],[object Object],[object Object]
Exercise 5g: XML Schema Validation ,[object Object],[object Object],[object Object],[object Object],[object Object]
Metadata in XML
Data and Metadata ,[object Object],[object Object],[object Object],the <uct> record can be considered to be metadata
Dublin Core ,[object Object],[object Object],[object Object],Rights Coverage Relation Language Source Identifier Format Type Date Contributor Publisher Description Subject Creator Title
Dublin Core in XML ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Why is there a separate namespace for the root element?
Metadata Transformation ,[object Object],[object Object],[object Object],[object Object],Come on, there must be an easier way!
XPath
XPath ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XPath Syntax ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XPath Shorthand Parent node .. Version nodes for which “number” has content of “1.0” version[number=‘1.0’] Version nodes that have “number” children version[number] Context node . All author nodes that are descendent from top level //author Last title within uct node at top level of document /uct/title[last()] First author node author[1] “ office” attribute @office All children * “ title” children title What it selects in current context Expression
XSL - XSLT
XSL ,[object Object],[object Object],[object Object],[object Object],[object Object],Philosophically, besides programmers, nobody should ever have to read/write XML!
XSLT ,[object Object],[object Object],[object Object],[object Object]
Applying XSLT Transformations ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XSLT Templates ,[object Object],[object Object],[object Object],[object Object],[object Object]
XSLT Special Tags ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XSLT Language 1/3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XSLT Language 2/3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XSLT Language 3/3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Full XSLT 1/2  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Full XSLT 2/2 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],note: this is not the simplest XSLT for this problem
Transformed XML ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],why all the extraneous “xmlns”s?
Exercise 6: XSLT ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XSL - FO
XSL Formatting Objects ,[object Object],[object Object],[object Object],[object Object]
Example XSL-FO ,[object Object],[object Object],[object Object]
XSL-FO  PDF Output
Example XSLT (XSL-FO) 1/3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example XSLT (XSL-FO) 2/3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example XSLT (XSL-FO) 3/3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XQuery
XQuery ,[object Object],[object Object],[object Object],[object Object],[object Object]
XQuery Expressions 1/2 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XQuery Expressions 2/2 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
FLWOR Expressions ,[object Object],[object Object],[object Object]
FLWOR Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
FLWOR For, Let ,[object Object],[object Object],[object Object],[object Object],[object Object]
FLWOR Where, OrderBy, Return ,[object Object],[object Object],[object Object],[object Object]
FLWOR for DB Joins ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XML Databases
XML Databases ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Blob/Clob/etc. ,[object Object],TestXML XMLBlob Id
Tree Representation Nodes Note: Whitespace nodes have been ignored! Links Pat Pukram Text 8 test XML document Text 3 number Element 10 1.0 Text 11 lecturer type Attribute 7 version Element 9 title Element 2 author Element 4 [email_address] email Attribute 5 410 office Attribute 6 1 Id Element Type Value Label uct 9 1 10 9 7 4 8 4 3 2 4 1 5 4 6 4 10 1 Parent id 11 2 Child id
Relation Representation main table author table uct Institute test XML document Title id VersionNumber 1 1.0 1 id Pat Pukram Author [email_address] Email Type Office lecturer 410
Evaluation ,[object Object],[object Object],[object Object],[object Object],Are we only interested in relational queries? Google-like queries?
that’s all folks!
References 1/3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
References 2/3 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
References 3/3 ,[object Object],[object Object],[object Object]

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
yht4ever
 
Kickstart Tutorial Xml
Kickstart Tutorial XmlKickstart Tutorial Xml
Kickstart Tutorial Xml
LiquidHub
 
Html, Xml, 그리고 시맨틱웹
Html, Xml, 그리고 시맨틱웹Html, Xml, 그리고 시맨틱웹
Html, Xml, 그리고 시맨틱웹
Jihoon Jeong
 
Xml Presentation-3
Xml Presentation-3Xml Presentation-3
Xml Presentation-3
Sudharsan S
 

Was ist angesagt? (20)

Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Document Type Definitions
Document Type DefinitionsDocument Type Definitions
Document Type Definitions
 
Xml tutorial
Xml tutorialXml tutorial
Xml tutorial
 
XML
XMLXML
XML
 
Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
XML-Extensible Markup Language
XML-Extensible Markup Language XML-Extensible Markup Language
XML-Extensible Markup Language
 
Kickstart Tutorial Xml
Kickstart Tutorial XmlKickstart Tutorial Xml
Kickstart Tutorial Xml
 
Xml dtd
Xml dtdXml dtd
Xml dtd
 
XML, DTD & XSD Overview
XML, DTD & XSD OverviewXML, DTD & XSD Overview
XML, DTD & XSD Overview
 
Web Design L2 - Playing with Tags
Web Design L2 - Playing with TagsWeb Design L2 - Playing with Tags
Web Design L2 - Playing with Tags
 
XML
XMLXML
XML
 
Normalization
NormalizationNormalization
Normalization
 
XML
XMLXML
XML
 
Mdst 3559-02-01-html
Mdst 3559-02-01-htmlMdst 3559-02-01-html
Mdst 3559-02-01-html
 
Introduction to DTD
Introduction to DTDIntroduction to DTD
Introduction to DTD
 
Xml and Co.
Xml and Co.Xml and Co.
Xml and Co.
 
Html, Xml, 그리고 시맨틱웹
Html, Xml, 그리고 시맨틱웹Html, Xml, 그리고 시맨틱웹
Html, Xml, 그리고 시맨틱웹
 
Xml Presentation-3
Xml Presentation-3Xml Presentation-3
Xml Presentation-3
 
Basic html
Basic htmlBasic html
Basic html
 

Andere mochten auch

IQPC Canada XML 2001: How to develop Syntax and XML Schema
IQPC Canada XML 2001: How to develop Syntax and XML SchemaIQPC Canada XML 2001: How to develop Syntax and XML Schema
IQPC Canada XML 2001: How to develop Syntax and XML Schema
Ted Leung
 
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 2
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 2OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 2
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 2
Marco Gralike
 
How Competitive Intelligence Helps Professional Service Firms Succeed
How Competitive Intelligence Helps Professional Service Firms SucceedHow Competitive Intelligence Helps Professional Service Firms Succeed
How Competitive Intelligence Helps Professional Service Firms Succeed
IntelCollab.com
 
Подводные камни интернет торговли
Подводные камни интернет торговлиПодводные камни интернет торговли
Подводные камни интернет торговли
ellall_bu
 
Types of organizational designs
Types of organizational designsTypes of organizational designs
Types of organizational designs
Arun Kandukuri
 
II-SDV 2013 The Challenge of Finding and Using Appropriate Tools for Competit...
II-SDV 2013 The Challenge of Finding and Using Appropriate Tools for Competit...II-SDV 2013 The Challenge of Finding and Using Appropriate Tools for Competit...
II-SDV 2013 The Challenge of Finding and Using Appropriate Tools for Competit...
Dr. Haxel Consult
 

Andere mochten auch (20)

IQPC Canada XML 2001: How to develop Syntax and XML Schema
IQPC Canada XML 2001: How to develop Syntax and XML SchemaIQPC Canada XML 2001: How to develop Syntax and XML Schema
IQPC Canada XML 2001: How to develop Syntax and XML Schema
 
China's Naval Strategy: Strategic Evolution and Emerging Concepts of Warfare
China's Naval Strategy: Strategic Evolution and Emerging Concepts of WarfareChina's Naval Strategy: Strategic Evolution and Emerging Concepts of Warfare
China's Naval Strategy: Strategic Evolution and Emerging Concepts of Warfare
 
Er2000
Er2000Er2000
Er2000
 
Session 2
Session 2Session 2
Session 2
 
Painless OO XML with XML::Pastor
Painless OO XML with XML::PastorPainless OO XML with XML::Pastor
Painless OO XML with XML::Pastor
 
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 2
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 2OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 2
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 2
 
3 xml namespaces and xml schema
3   xml namespaces and xml schema3   xml namespaces and xml schema
3 xml namespaces and xml schema
 
XML schemas
XML schemasXML schemas
XML schemas
 
20141008 intelcollab
20141008 intelcollab20141008 intelcollab
20141008 intelcollab
 
How Competitive Intelligence Helps Professional Service Firms Succeed
How Competitive Intelligence Helps Professional Service Firms SucceedHow Competitive Intelligence Helps Professional Service Firms Succeed
How Competitive Intelligence Helps Professional Service Firms Succeed
 
3 Tools for Targeting Your Display Advertising
3 Tools for Targeting Your Display Advertising3 Tools for Targeting Your Display Advertising
3 Tools for Targeting Your Display Advertising
 
Lpc service offerings
Lpc service offeringsLpc service offerings
Lpc service offerings
 
Meidata - מחקרי שוק ומודיעין תחרותי
Meidata - מחקרי שוק ומודיעין תחרותיMeidata - מחקרי שוק ומודיעין תחרותי
Meidata - מחקרי שוק ומודיעין תחרותי
 
Mobility in the Enterprise
Mobility in the EnterpriseMobility in the Enterprise
Mobility in the Enterprise
 
Auxvp
AuxvpAuxvp
Auxvp
 
Подводные камни интернет торговли
Подводные камни интернет торговлиПодводные камни интернет торговли
Подводные камни интернет торговли
 
Types of organizational designs
Types of organizational designsTypes of organizational designs
Types of organizational designs
 
Balancedscorehistory
BalancedscorehistoryBalancedscorehistory
Balancedscorehistory
 
Meidata כתבה בעיתון
Meidata   כתבה בעיתוןMeidata   כתבה בעיתון
Meidata כתבה בעיתון
 
II-SDV 2013 The Challenge of Finding and Using Appropriate Tools for Competit...
II-SDV 2013 The Challenge of Finding and Using Appropriate Tools for Competit...II-SDV 2013 The Challenge of Finding and Using Appropriate Tools for Competit...
II-SDV 2013 The Challenge of Finding and Using Appropriate Tools for Competit...
 

Ähnlich wie About XML (20)

Xml
XmlXml
Xml
 
Xml
XmlXml
Xml
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
XML
XMLXML
XML
 
Lotusphere 2006 AD212 Introduction to DXL
Lotusphere 2006 AD212 Introduction to DXLLotusphere 2006 AD212 Introduction to DXL
Lotusphere 2006 AD212 Introduction to DXL
 
XML/XSLT
XML/XSLTXML/XSLT
XML/XSLT
 
XML Presentation-2
XML Presentation-2XML Presentation-2
XML Presentation-2
 
Xml For Dummies Chapter 8 Understanding And Using Dt Ds it-slideshares.blog...
Xml For Dummies   Chapter 8 Understanding And Using Dt Ds it-slideshares.blog...Xml For Dummies   Chapter 8 Understanding And Using Dt Ds it-slideshares.blog...
Xml For Dummies Chapter 8 Understanding And Using Dt Ds it-slideshares.blog...
 
Session 1
Session 1Session 1
Session 1
 
Xml
XmlXml
Xml
 
Xml
XmlXml
Xml
 
PDF Localization
PDF  LocalizationPDF  Localization
PDF Localization
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 
Intro XML for archivists (2011)
Intro XML for archivists (2011)Intro XML for archivists (2011)
Intro XML for archivists (2011)
 
O9xml
O9xmlO9xml
O9xml
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
Xml
XmlXml
Xml
 
Xml by Luqman
Xml by LuqmanXml by Luqman
Xml by Luqman
 
What is xml
What is xmlWhat is xml
What is xml
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

About XML

  • 1. <? xml ?> hussein suleman uct csc3003s 2006
  • 2.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. Relationship SGML HTML XML XHTML v1.0 v1.0 v4.0 SEMANTICS STRUCTURE
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41. DOM Tree title author whitespace whitespace whitespace version whitespace whitespace number whitespace whitespace uct whitespace 1.0 test XML document Pat Pukram Attribute List email=pat@cs.uct.ac.za office=410 type=lecturer document
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 72.
  • 73.
  • 74.
  • 75.
  • 76. XPath
  • 77.
  • 78.
  • 79. XPath Shorthand Parent node .. Version nodes for which “number” has content of “1.0” version[number=‘1.0’] Version nodes that have “number” children version[number] Context node . All author nodes that are descendent from top level //author Last title within uct node at top level of document /uct/title[last()] First author node author[1] “ office” attribute @office All children * “ title” children title What it selects in current context Expression
  • 81.
  • 82.
  • 83.
  • 84.
  • 85.
  • 86.
  • 87.
  • 88.
  • 89.
  • 90.
  • 91.
  • 92.
  • 94.
  • 95.
  • 96. XSL-FO  PDF Output
  • 97.
  • 98.
  • 99.
  • 100. XQuery
  • 101.
  • 102.
  • 103.
  • 104.
  • 105.
  • 106.
  • 107.
  • 108.
  • 110.
  • 111.
  • 112. Tree Representation Nodes Note: Whitespace nodes have been ignored! Links Pat Pukram Text 8 test XML document Text 3 number Element 10 1.0 Text 11 lecturer type Attribute 7 version Element 9 title Element 2 author Element 4 [email_address] email Attribute 5 410 office Attribute 6 1 Id Element Type Value Label uct 9 1 10 9 7 4 8 4 3 2 4 1 5 4 6 4 10 1 Parent id 11 2 Child id
  • 113. Relation Representation main table author table uct Institute test XML document Title id VersionNumber 1 1.0 1 id Pat Pukram Author [email_address] Email Type Office lecturer 410
  • 114.
  • 116.
  • 117.
  • 118.