SlideShare a Scribd company logo
XML presentation
By Alejandro herreño y Miguel Teheran
2.1 XML (Extensible Markup Language)
XML stands for Extensible Markup Language. It is a text-based markup language
derived from Standard Generalized Markup Language (SGML).
Main characteristics:
● XML is extensible
● XML carries the data, does not present it
● XML is a public standard
2.2 XML Documents
What‘s in an XML document?
• Elements
• Attributes
A Simple XML Document
<article>
<author>Gerhard Weikum</author>
<title>The Web in Ten Years</title>
<text>
<abstract>In order to evolve...</abstract>
<section number=“1” title=“Introduction”> The
<index>Web</index> provides the universal...
</section>
</text>
</article>
DEMO
REPRESENTACIÓN CONCEPTUAL DE ENTIDADE DE SITERRA EN UN XML
XML Siterra Example
More on XML Syntax
Some special characters must be escaped using entities:
< → &lt;
& → &amp;
(will be converted back when reading the XML doc)
Some other characters may be escaped, too:
> → &gt;
“ → &quot;
‘ → &apos;
More on XML Syntax EXAMPLE
<message>salary &lt; 1000</message>
<!-- This is a -- comment -->
<Message>This is incorrect</message>
<message>This is correct</message>
DEMO - WHERE IS THE ERROR?
<?xml version="1.0"?>
<catalog>
<book id="bk101" publish-"true">
<author>Gambardella, Matthew</author>
<title>XML Developer's Guide</title>
<genre>Computer <cc></genre>
<description>An in-depth look at creating applications
with XML.<description>
<book>
<book id="bk102 publish-"true">
<author>Ralls, Kim</author>
<Title>Midnight Rain</title>
<genre>Fantasy</genre>
<description>A former architect battles corporate zombies,
an evil sorceress, and her own childhood to become queen
of the world.<description>
</book>
<catalog>
DEMO SOLUTION
<?xml version="1.0"?>
<catalog>
<book id="bk101" publish-"true">
<author>Gambardella, Matthew</author>
<title>XML Developer's Guide</title>
<genre>Computer <cc></genre>
<description>An in-depth look at creating applications
with XML.<description>
<book>
<book id="bk102" publish-"true">
<author>Ralls, Kim</author>
<Title>Midnight Rain</title>
<genre>Fantasy</genre>
<description>A former architect battles corporate zombies,
an evil sorceress, and her own childhood to become queen
of the world.<description>
</book>
</catalog>
Namespaces
XML Namespaces provide a method to avoid element name conflicts.
Example:
<table>
<tr>
<td>Apples</td>
<td>Bananas</td>
</tr>
</table>
<table>
<name>African Coffee Table</name>
<width>80</width>
<length>120</length>
</table>
Namespaces
<h:table>
<h:tr>
<h:td>Apples</h:td>
<h:td>Bananas</h:td>
</h:tr>
</h:table>
<f:table>
<f:name>African Coffee Table</f:name>
<f:width>80</f:width>
<f:length>120</f:length>
</f:table>
Importance of XML
- Data transfer
- Files Config (App.config, Web.config)
- Schemas and Templates
- Devices
- External services
- Documentation
- File Format
Quick questions
- Is XML key sensitive?
- Mentions 2 special characters in XML
- Mentions 2 additional document formats
- What is the difference between element and attribute in XML?
Querying XML Data
Querying XML with XPath and XQuery
XPath and XQuery are query languages for XML data, both standardized by the W3C and
supported by various database products. Their search capabilities include
•logical conditions over element and attribute content (first-order predicate logic a la SQL;
simple conditions only in XPath)
•regular expressions for pattern matching of element names along paths or subtrees within
XML data + joins, grouping, aggregation, transformation, etc. (XQuery only)
In contrast to database query languages like SQL an XML query does not necessarily (need
to) know a fixed structural schema for the underlying data. A query result is a set of
qualifying nodes, paths, subtrees, or subgraphs from the underyling data graph, or a set of
XML documents constructed from this raw result
XPath
XPath is a simple language to identify parts of the XML document (for further
processing)
• XPath operates on the tree representation of the document
• Result of an XPath expression is a set of elements or attributes
• Discuss abbreviated version of XPath
Elements of XPath
• An XPath expression usually is a location path that consists of location steps, separated by /:
/article/text/abstract: selects all abstractelements
• A leading / always means the root element
• Each location step is evaluated in the context of a node in the tree, the so-called context node
• Possible location steps:
–child element x: select all child elements with name x –Attribute @x: select all attributes with name x
–Wildcards *(any child), @*(any attribute)
–Multiple matches, separated by |: x|y|z
XPATH Expressions
Xpath Axes
XPath Comparison Operators
XPath String Functions
XPath Wild Card
XPATH Additional Concepts
● Absolute Path / Relative Path
● Axes
XPath by Example
EXPRESSIONS
● / -----DOCUMENT FROM THE ROOT NODE
● //TASK ----- ALL THE TASK NODE
● //TASK/@ADHOC --- THE VALUE OF THE TASK ATRIBUTE "ADHOC"
● //BLL:PROPERTY --- ALL THE PROPERTY ELEMENTS
● //BLL:PROPERTY[1] --- THE FIRST PROPERTY ELEMENT
● //BLL:PROPERTY[@DATATYPE] ---- ALL THE PROPERTY WITH AN ARGUMENT "DATATYPE "
● //TASK
AXES
● //BLL:PROPERTIES/child::node() --- CHILD NODES OF PROPERTIES
● //BLL:PROPERTY[1]/following::node() --- FOLLOWING NODES
OPERATORS
● //BLL:OPTION[@NAME = "Carrier"
● //BLL:PROPERTY[@NAME="EVENT_TYPE"]/BLL:OPTIONS/Equipment_Upgrade/text() --- text

More Related Content

What's hot

Xml
XmlXml
Dtd
DtdDtd
XML Schema
XML SchemaXML Schema
XML Schema
yht4ever
 
Xml 215-presentation
Xml 215-presentationXml 215-presentation
Xml 215-presentation
Manish Chaurasia
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
Amit Tyagi
 
02 xml schema
02 xml schema02 xml schema
02 xml schema
Baskarkncet
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
Gtu Booker
 
Css selectors
Css selectorsCss selectors
Css selectors
Parth Trivedi
 
XML Document Object Model (DOM)
XML Document Object Model (DOM)XML Document Object Model (DOM)
XML Document Object Model (DOM)
BOSS Webtech
 
html-table
html-tablehtml-table
html-table
Dhirendra Chauhan
 
XSLT
XSLTXSLT
Xml schema
Xml schemaXml schema
Xml schema
Prabhakaran V M
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
Jussi Pohjolainen
 
Javascript
JavascriptJavascript
Javascript
Sun Technlogies
 
Document Object Model
Document Object ModelDocument Object Model
Document Object Model
Mayur Mudgal
 
DTD
DTDDTD
(Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS (Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS
Dave Kelly
 
CSS
CSSCSS
XML DTD and Schema
XML DTD and SchemaXML DTD and Schema
XML DTD and Schema
hamsa nandhini
 
HTML
HTMLHTML

What's hot (20)

Xml
XmlXml
Xml
 
Dtd
DtdDtd
Dtd
 
XML Schema
XML SchemaXML Schema
XML Schema
 
Xml 215-presentation
Xml 215-presentationXml 215-presentation
Xml 215-presentation
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
02 xml schema
02 xml schema02 xml schema
02 xml schema
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
Css selectors
Css selectorsCss selectors
Css selectors
 
XML Document Object Model (DOM)
XML Document Object Model (DOM)XML Document Object Model (DOM)
XML Document Object Model (DOM)
 
html-table
html-tablehtml-table
html-table
 
XSLT
XSLTXSLT
XSLT
 
Xml schema
Xml schemaXml schema
Xml schema
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Javascript
JavascriptJavascript
Javascript
 
Document Object Model
Document Object ModelDocument Object Model
Document Object Model
 
DTD
DTDDTD
DTD
 
(Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS (Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS
 
CSS
CSSCSS
CSS
 
XML DTD and Schema
XML DTD and SchemaXML DTD and Schema
XML DTD and Schema
 
HTML
HTMLHTML
HTML
 

Similar to Xml presentation

1 xml fundamentals
1 xml fundamentals1 xml fundamentals
1 xml fundamentals
Dr.Saranya K.G
 
eXtensible Markup Language (XML)
eXtensible Markup Language (XML)eXtensible Markup Language (XML)
eXtensible Markup Language (XML)
Serhii Kartashov
 
Introduction to XSLT
Introduction to XSLTIntroduction to XSLT
Introduction to XSLT
Mahmoud Allam
 
Xml and DTD's
Xml and DTD'sXml and DTD's
Xml and DTD's
Swati Parmar
 
WEB PROGRAMMING
WEB PROGRAMMINGWEB PROGRAMMING
WEB PROGRAMMING
sweetysweety8
 
Basics of XML
Basics of XMLBasics of XML
Basics of XML
indiangarg
 
Web Information Systems XML
Web Information Systems XMLWeb Information Systems XML
Web Information Systems XML
Artificial Intelligence Institute at UofSC
 
Xml
XmlXml
XML notes.pptx
XML notes.pptxXML notes.pptx
XML notes.pptx
AmarYa2
 

Similar to Xml presentation (20)

1 xml fundamentals
1 xml fundamentals1 xml fundamentals
1 xml fundamentals
 
eXtensible Markup Language (XML)
eXtensible Markup Language (XML)eXtensible Markup Language (XML)
eXtensible Markup Language (XML)
 
Introduction to XSLT
Introduction to XSLTIntroduction to XSLT
Introduction to XSLT
 
Xml and DTD's
Xml and DTD'sXml and DTD's
Xml and DTD's
 
WEB PROGRAMMING
WEB PROGRAMMINGWEB PROGRAMMING
WEB PROGRAMMING
 
Xml
XmlXml
Xml
 
XML-Javascript
XML-JavascriptXML-Javascript
XML-Javascript
 
XML-Javascript
XML-JavascriptXML-Javascript
XML-Javascript
 
paper about xml
paper about xmlpaper about xml
paper about xml
 
Xml andweb services
Xml andweb services Xml andweb services
Xml andweb services
 
XML
XMLXML
XML
 
Xml session
Xml sessionXml session
Xml session
 
Basics of XML
Basics of XMLBasics of XML
Basics of XML
 
XML
XMLXML
XML
 
Xml
XmlXml
Xml
 
Unit3wt
Unit3wtUnit3wt
Unit3wt
 
Unit3wt
Unit3wtUnit3wt
Unit3wt
 
Web Information Systems XML
Web Information Systems XMLWeb Information Systems XML
Web Information Systems XML
 
Xml
XmlXml
Xml
 
XML notes.pptx
XML notes.pptxXML notes.pptx
XML notes.pptx
 

More from Miguel Angel Teheran Garcia

Pruebas Automatizadas con PlayWright sobre nuestras Google Cloud Functions
Pruebas Automatizadas con PlayWright sobre nuestras Google Cloud FunctionsPruebas Automatizadas con PlayWright sobre nuestras Google Cloud Functions
Pruebas Automatizadas con PlayWright sobre nuestras Google Cloud Functions
Miguel Angel Teheran Garcia
 
PlayWright, Cypress, Selenium Cual es la mejor opción para desarrolladores Ja...
PlayWright, Cypress, Selenium Cual es la mejor opción para desarrolladores Ja...PlayWright, Cypress, Selenium Cual es la mejor opción para desarrolladores Ja...
PlayWright, Cypress, Selenium Cual es la mejor opción para desarrolladores Ja...
Miguel Angel Teheran Garcia
 
Introduction to Blazor Hybrid
Introduction to Blazor HybridIntroduction to Blazor Hybrid
Introduction to Blazor Hybrid
Miguel Angel Teheran Garcia
 
La historia de api-colombia
La historia de api-colombiaLa historia de api-colombia
La historia de api-colombia
Miguel Angel Teheran Garcia
 
DevFest 2022 - El Arte de escribir sobre programacion.pptx
DevFest 2022 - El Arte de escribir sobre programacion.pptxDevFest 2022 - El Arte de escribir sobre programacion.pptx
DevFest 2022 - El Arte de escribir sobre programacion.pptx
Miguel Angel Teheran Garcia
 
RoadMap y herramientas de Azure DevOps que debes conocer
RoadMap y herramientas de Azure DevOps que debes conocerRoadMap y herramientas de Azure DevOps que debes conocer
RoadMap y herramientas de Azure DevOps que debes conocer
Miguel Angel Teheran Garcia
 
Taller de TDD con .NET y xUnit
Taller de TDD con .NET y xUnitTaller de TDD con .NET y xUnit
Taller de TDD con .NET y xUnit
Miguel Angel Teheran Garcia
 
Introduction to OpenTelemetry in .NET
Introduction to OpenTelemetry in .NETIntroduction to OpenTelemetry in .NET
Introduction to OpenTelemetry in .NET
Miguel Angel Teheran Garcia
 
PRISM con MAUI
PRISM con MAUIPRISM con MAUI
.NET MAUI Offline first
.NET MAUI Offline first .NET MAUI Offline first
.NET MAUI Offline first
Miguel Angel Teheran Garcia
 
MAUIConf - Adios Net Maui Essentials Bienvenida Integración de Plataforma
MAUIConf - Adios Net Maui Essentials Bienvenida Integración de PlataformaMAUIConf - Adios Net Maui Essentials Bienvenida Integración de Plataforma
MAUIConf - Adios Net Maui Essentials Bienvenida Integración de Plataforma
Miguel Angel Teheran Garcia
 
Servicios Nativos MAUI
Servicios Nativos MAUIServicios Nativos MAUI
Servicios Nativos MAUI
Miguel Angel Teheran Garcia
 
Aplicaciones para MacOS con .NET MAUI
Aplicaciones para MacOS con .NET MAUIAplicaciones para MacOS con .NET MAUI
Aplicaciones para MacOS con .NET MAUI
Miguel Angel Teheran Garcia
 
Primero pasos con Visual Studio for MAC
Primero pasos con Visual Studio for MACPrimero pasos con Visual Studio for MAC
Primero pasos con Visual Studio for MAC
Miguel Angel Teheran Garcia
 
Aplicaciones con web con Blazor + MudBlazor
Aplicaciones con web con Blazor + MudBlazorAplicaciones con web con Blazor + MudBlazor
Aplicaciones con web con Blazor + MudBlazor
Miguel Angel Teheran Garcia
 
Building Web Applications with Blazor and MudBlazor
Building Web Applications with Blazor and MudBlazorBuilding Web Applications with Blazor and MudBlazor
Building Web Applications with Blazor and MudBlazor
Miguel Angel Teheran Garcia
 
Tips para una entrevista Tech Exitosa
Tips para una entrevista Tech ExitosaTips para una entrevista Tech Exitosa
Tips para una entrevista Tech Exitosa
Miguel Angel Teheran Garcia
 
Metaverso y Microsoft Mesh
Metaverso y Microsoft MeshMetaverso y Microsoft Mesh
Metaverso y Microsoft Mesh
Miguel Angel Teheran Garcia
 
Mejoras en Blazor con .NET 6
Mejoras en Blazor con .NET 6Mejoras en Blazor con .NET 6
Mejoras en Blazor con .NET 6
Miguel Angel Teheran Garcia
 
Apis with dotnet postgreSQL and Apsaradb
Apis with dotnet postgreSQL and ApsaradbApis with dotnet postgreSQL and Apsaradb
Apis with dotnet postgreSQL and Apsaradb
Miguel Angel Teheran Garcia
 

More from Miguel Angel Teheran Garcia (20)

Pruebas Automatizadas con PlayWright sobre nuestras Google Cloud Functions
Pruebas Automatizadas con PlayWright sobre nuestras Google Cloud FunctionsPruebas Automatizadas con PlayWright sobre nuestras Google Cloud Functions
Pruebas Automatizadas con PlayWright sobre nuestras Google Cloud Functions
 
PlayWright, Cypress, Selenium Cual es la mejor opción para desarrolladores Ja...
PlayWright, Cypress, Selenium Cual es la mejor opción para desarrolladores Ja...PlayWright, Cypress, Selenium Cual es la mejor opción para desarrolladores Ja...
PlayWright, Cypress, Selenium Cual es la mejor opción para desarrolladores Ja...
 
Introduction to Blazor Hybrid
Introduction to Blazor HybridIntroduction to Blazor Hybrid
Introduction to Blazor Hybrid
 
La historia de api-colombia
La historia de api-colombiaLa historia de api-colombia
La historia de api-colombia
 
DevFest 2022 - El Arte de escribir sobre programacion.pptx
DevFest 2022 - El Arte de escribir sobre programacion.pptxDevFest 2022 - El Arte de escribir sobre programacion.pptx
DevFest 2022 - El Arte de escribir sobre programacion.pptx
 
RoadMap y herramientas de Azure DevOps que debes conocer
RoadMap y herramientas de Azure DevOps que debes conocerRoadMap y herramientas de Azure DevOps que debes conocer
RoadMap y herramientas de Azure DevOps que debes conocer
 
Taller de TDD con .NET y xUnit
Taller de TDD con .NET y xUnitTaller de TDD con .NET y xUnit
Taller de TDD con .NET y xUnit
 
Introduction to OpenTelemetry in .NET
Introduction to OpenTelemetry in .NETIntroduction to OpenTelemetry in .NET
Introduction to OpenTelemetry in .NET
 
PRISM con MAUI
PRISM con MAUIPRISM con MAUI
PRISM con MAUI
 
.NET MAUI Offline first
.NET MAUI Offline first .NET MAUI Offline first
.NET MAUI Offline first
 
MAUIConf - Adios Net Maui Essentials Bienvenida Integración de Plataforma
MAUIConf - Adios Net Maui Essentials Bienvenida Integración de PlataformaMAUIConf - Adios Net Maui Essentials Bienvenida Integración de Plataforma
MAUIConf - Adios Net Maui Essentials Bienvenida Integración de Plataforma
 
Servicios Nativos MAUI
Servicios Nativos MAUIServicios Nativos MAUI
Servicios Nativos MAUI
 
Aplicaciones para MacOS con .NET MAUI
Aplicaciones para MacOS con .NET MAUIAplicaciones para MacOS con .NET MAUI
Aplicaciones para MacOS con .NET MAUI
 
Primero pasos con Visual Studio for MAC
Primero pasos con Visual Studio for MACPrimero pasos con Visual Studio for MAC
Primero pasos con Visual Studio for MAC
 
Aplicaciones con web con Blazor + MudBlazor
Aplicaciones con web con Blazor + MudBlazorAplicaciones con web con Blazor + MudBlazor
Aplicaciones con web con Blazor + MudBlazor
 
Building Web Applications with Blazor and MudBlazor
Building Web Applications with Blazor and MudBlazorBuilding Web Applications with Blazor and MudBlazor
Building Web Applications with Blazor and MudBlazor
 
Tips para una entrevista Tech Exitosa
Tips para una entrevista Tech ExitosaTips para una entrevista Tech Exitosa
Tips para una entrevista Tech Exitosa
 
Metaverso y Microsoft Mesh
Metaverso y Microsoft MeshMetaverso y Microsoft Mesh
Metaverso y Microsoft Mesh
 
Mejoras en Blazor con .NET 6
Mejoras en Blazor con .NET 6Mejoras en Blazor con .NET 6
Mejoras en Blazor con .NET 6
 
Apis with dotnet postgreSQL and Apsaradb
Apis with dotnet postgreSQL and ApsaradbApis with dotnet postgreSQL and Apsaradb
Apis with dotnet postgreSQL and Apsaradb
 

Recently uploaded

Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Yara Milbes
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
vrstrong314
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 

Recently uploaded (20)

Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 

Xml presentation

  • 1. XML presentation By Alejandro herreño y Miguel Teheran
  • 2. 2.1 XML (Extensible Markup Language) XML stands for Extensible Markup Language. It is a text-based markup language derived from Standard Generalized Markup Language (SGML). Main characteristics: ● XML is extensible ● XML carries the data, does not present it ● XML is a public standard
  • 3. 2.2 XML Documents What‘s in an XML document? • Elements • Attributes
  • 4. A Simple XML Document <article> <author>Gerhard Weikum</author> <title>The Web in Ten Years</title> <text> <abstract>In order to evolve...</abstract> <section number=“1” title=“Introduction”> The <index>Web</index> provides the universal... </section> </text> </article>
  • 5. DEMO REPRESENTACIÓN CONCEPTUAL DE ENTIDADE DE SITERRA EN UN XML
  • 7. More on XML Syntax Some special characters must be escaped using entities: < → &lt; & → &amp; (will be converted back when reading the XML doc) Some other characters may be escaped, too: > → &gt; “ → &quot; ‘ → &apos;
  • 8. More on XML Syntax EXAMPLE <message>salary &lt; 1000</message> <!-- This is a -- comment --> <Message>This is incorrect</message> <message>This is correct</message>
  • 9. DEMO - WHERE IS THE ERROR? <?xml version="1.0"?> <catalog> <book id="bk101" publish-"true"> <author>Gambardella, Matthew</author> <title>XML Developer's Guide</title> <genre>Computer <cc></genre> <description>An in-depth look at creating applications with XML.<description> <book> <book id="bk102 publish-"true"> <author>Ralls, Kim</author> <Title>Midnight Rain</title> <genre>Fantasy</genre> <description>A former architect battles corporate zombies, an evil sorceress, and her own childhood to become queen of the world.<description> </book> <catalog>
  • 10. DEMO SOLUTION <?xml version="1.0"?> <catalog> <book id="bk101" publish-"true"> <author>Gambardella, Matthew</author> <title>XML Developer's Guide</title> <genre>Computer <cc></genre> <description>An in-depth look at creating applications with XML.<description> <book> <book id="bk102" publish-"true"> <author>Ralls, Kim</author> <Title>Midnight Rain</title> <genre>Fantasy</genre> <description>A former architect battles corporate zombies, an evil sorceress, and her own childhood to become queen of the world.<description> </book> </catalog>
  • 11. Namespaces XML Namespaces provide a method to avoid element name conflicts. Example: <table> <tr> <td>Apples</td> <td>Bananas</td> </tr> </table> <table> <name>African Coffee Table</name> <width>80</width> <length>120</length> </table>
  • 13. Importance of XML - Data transfer - Files Config (App.config, Web.config) - Schemas and Templates - Devices - External services - Documentation - File Format
  • 14. Quick questions - Is XML key sensitive? - Mentions 2 special characters in XML - Mentions 2 additional document formats - What is the difference between element and attribute in XML?
  • 16. Querying XML with XPath and XQuery XPath and XQuery are query languages for XML data, both standardized by the W3C and supported by various database products. Their search capabilities include •logical conditions over element and attribute content (first-order predicate logic a la SQL; simple conditions only in XPath) •regular expressions for pattern matching of element names along paths or subtrees within XML data + joins, grouping, aggregation, transformation, etc. (XQuery only) In contrast to database query languages like SQL an XML query does not necessarily (need to) know a fixed structural schema for the underlying data. A query result is a set of qualifying nodes, paths, subtrees, or subgraphs from the underyling data graph, or a set of XML documents constructed from this raw result
  • 17. XPath XPath is a simple language to identify parts of the XML document (for further processing) • XPath operates on the tree representation of the document • Result of an XPath expression is a set of elements or attributes • Discuss abbreviated version of XPath
  • 18. Elements of XPath • An XPath expression usually is a location path that consists of location steps, separated by /: /article/text/abstract: selects all abstractelements • A leading / always means the root element • Each location step is evaluated in the context of a node in the tree, the so-called context node • Possible location steps: –child element x: select all child elements with name x –Attribute @x: select all attributes with name x –Wildcards *(any child), @*(any attribute) –Multiple matches, separated by |: x|y|z
  • 24. XPATH Additional Concepts ● Absolute Path / Relative Path ● Axes
  • 25. XPath by Example EXPRESSIONS ● / -----DOCUMENT FROM THE ROOT NODE ● //TASK ----- ALL THE TASK NODE ● //TASK/@ADHOC --- THE VALUE OF THE TASK ATRIBUTE "ADHOC" ● //BLL:PROPERTY --- ALL THE PROPERTY ELEMENTS ● //BLL:PROPERTY[1] --- THE FIRST PROPERTY ELEMENT ● //BLL:PROPERTY[@DATATYPE] ---- ALL THE PROPERTY WITH AN ARGUMENT "DATATYPE " ● //TASK AXES ● //BLL:PROPERTIES/child::node() --- CHILD NODES OF PROPERTIES ● //BLL:PROPERTY[1]/following::node() --- FOLLOWING NODES OPERATORS ● //BLL:OPTION[@NAME = "Carrier" ● //BLL:PROPERTY[@NAME="EVENT_TYPE"]/BLL:OPTIONS/Equipment_Upgrade/text() --- text