SlideShare ist ein Scribd-Unternehmen logo
<? 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?

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 SchemaTed Leung
 
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 WarfarePierre Memheld
 
Painless OO XML with XML::Pastor
Painless OO XML with XML::PastorPainless OO XML with XML::Pastor
Painless OO XML with XML::Pastorjoelbernstein
 
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 2Marco Gralike
 
3 xml namespaces and xml schema
3   xml namespaces and xml schema3   xml namespaces and xml schema
3 xml namespaces and xml schemagauravashq
 
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 SucceedIntelCollab.com
 
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 AdvertisingCompete
 
Lpc service offerings
Lpc service offeringsLpc service offerings
Lpc service offeringsKamales Lardi
 
Meidata - מחקרי שוק ומודיעין תחרותי
Meidata - מחקרי שוק ומודיעין תחרותיMeidata - מחקרי שוק ומודיעין תחרותי
Meidata - מחקרי שוק ומודיעין תחרותיMeidata
 
Mobility in the Enterprise
Mobility in the EnterpriseMobility in the Enterprise
Mobility in the EnterpriseBilly Cripe
 
Подводные камни интернет торговли
Подводные камни интернет торговлиПодводные камни интернет торговли
Подводные камни интернет торговлиellall_bu
 
Types of organizational designs
Types of organizational designsTypes of organizational designs
Types of organizational designsArun Kandukuri
 
Meidata כתבה בעיתון
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...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

Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastUXDXConf
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlPeter Udo Diehl
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIES VE
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxJennifer Lim
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfFIDO Alliance
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxDavid Michel
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty SecureFemke de Vroome
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaCzechDreamin
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfFIDO Alliance
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1DianaGray10
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Julian Hyde
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераMark Opanasiuk
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2DianaGray10
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCzechDreamin
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...FIDO Alliance
 
Buy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptxBuy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptxEasyPrinterHelp
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomCzechDreamin
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoTAnalytics
 

Kürzlich hochgeladen (20)

Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Buy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptxBuy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptx
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 

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.