SlideShare a Scribd company logo
1 of 13
e X tensible   M arkup   L anguage P repared   b y   A ditya   R aj e X tensible  S tylesheet  L anguage
By end of this presentation, we will be able to know What is XML? Why to choose XML? What is XML schema? XML structure Basics of XML coding
What is XML? XML is a general purpose, cross platform, markup language, that is supported by W3C (World Wide Consortium) and is used for communication between systems on different or same platform. XML is used to describe and store data and  should not be  misunderstood with a programming language. The good news is XML tags are not predefined and you can define your own tags  
Why to choose XML? XML stores the data in a  structured  manner Data can just not be stored but also it can be  described  to any extent Systems using XML are considered to be highly  scalable Structural changes to data can be  managed  easily Easy  to learn and easy to use In machine and  human readable  format XML is  FREE
What is a XML schema? XML Schema are guidelines or format for describing data using XML. In order to use XML data it must conform to these standards. The oldest schema format for XML is DTD (Document Type Definition) but it is now obsolete as:    It has no support for new features    Certain aspects of data cannot be described using DTD XSD (XML Schema Definition)  is one of the most powerful XML schemas and is commonly used. They allow detailed constraints on an XML document’s logical structure. Finally it depends on the system requirement and data type that which XML schema should be used.
XML structure Data Structure of XML can best described as a hierarchy of information like a tree. A hierarchy structure has a parent, child and a sibling relationship with other entities. In XML every entity at any level can have its own properties. Siblings Parent Child Name Age Gender Properties
Basic XML coding <addressBook> <contact  fName=&quot;john&quot;  lName=&quot;“  nickName=&quot;Johny&quot;  dob=&quot;1st January 1990&quot;> </contact> <email>john@yahoo.com</email> <numbers> </numbers> <address> </address> <streetAddress>123, x block, Vasant Vihar </streetAddress> <country>India</country> <state>New Delhi</state> <zipCode>110057</zipCode> <mobile>9988998899</mobile> <mobile>9988998800</mobile> <homeNumber>01126150000</homeNumber> <?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?>  </addressBook> Address Book Contact Email Numbers Address Mobile Home Phone State Country Street Address Contact Email Numbers Address Mobile Home Phone State Country Street Address
Now we are about to know: What is XSL? What is XSLT? What is XPath? Example
What is XSL? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What is XSLT? XSLT (eXtensible Stylesheet Language Transformation) transforms XML data using XSL to form a well formatted document, usually HTML. About XSLT processors One of the most simplest way of XSLT is client side, so when a XML document is requested by client application, it refers to its related XSL file and the transformation takes place at the client side. This method is not recommended due to compatibility concerns as it is highly possible that client might not support XML transformation or may not support the latest features. Hence it is recommended to perform the transformation at the server level and pass the resulted data to the client, avoiding any compatibility concerns. There are several standalone software and libraries available for performing transformation. Like for ruby on rails we have library named XSLT and for Windows XP we have MSXML 3.
What is XPath? XPath (XML Path Language) is used to  navigate  the data inside XML document to find required information and it is also used for computing values, in simple words XPath is a  small query language . XPath   expressions Selects first child element of the node nodename/node[1] Selects all nodes in the document //* Selects all child nodes of the node nodename/* Selects attributes @ Selects the parent of the current node .. Selects the current node . Selects nodes in the document from the current node that match the selection no matter where they are  // Selects from the root node / Selects all child nodes of the node nodename Description Expression
Now lets make XSL for the XML we made before !! Line 2 tells the XML document that which XSL should be used for transformation. FINALLY !!
Thanks…

More Related Content

What's hot (20)

Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)
 
XML Databases
XML DatabasesXML Databases
XML Databases
 
Xml and xml processor
Xml and xml processorXml and xml processor
Xml and xml processor
 
Introducing xml
Introducing xmlIntroducing xml
Introducing xml
 
XML
XMLXML
XML
 
XML
XMLXML
XML
 
Xml presentation
Xml presentationXml presentation
Xml presentation
 
EXtensible Markup Language
EXtensible Markup LanguageEXtensible Markup Language
EXtensible Markup Language
 
Xml iet 2015
Xml iet 2015Xml iet 2015
Xml iet 2015
 
Introduction to XML and Databases
Introduction to XML and DatabasesIntroduction to XML and Databases
Introduction to XML and Databases
 
Xml
XmlXml
Xml
 
What is xml
What is xmlWhat is xml
What is xml
 
Web data management (chapter-1)
Web data management (chapter-1)Web data management (chapter-1)
Web data management (chapter-1)
 
Intro xml
Intro xmlIntro xml
Intro xml
 
Web programming xml
Web programming  xmlWeb programming  xml
Web programming xml
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
XML
XMLXML
XML
 
Oracle soa xml faq
Oracle soa xml faqOracle soa xml faq
Oracle soa xml faq
 
XML
XMLXML
XML
 

Viewers also liked

Viewers also liked (6)

Xs path navigation on xml schemas made easy
Xs path navigation on xml schemas made easy Xs path navigation on xml schemas made easy
Xs path navigation on xml schemas made easy
 
IEEE 2014 JAVA DATA MINING PROJECTS Xs path navigation on xml schemas made easy
IEEE 2014 JAVA DATA MINING PROJECTS Xs path navigation on xml schemas made easyIEEE 2014 JAVA DATA MINING PROJECTS Xs path navigation on xml schemas made easy
IEEE 2014 JAVA DATA MINING PROJECTS Xs path navigation on xml schemas made easy
 
Xpath presentation
Xpath presentationXpath presentation
Xpath presentation
 
XPath - XML Path Language
XPath - XML Path LanguageXPath - XML Path Language
XPath - XML Path Language
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Slideshare ppt
Slideshare pptSlideshare ppt
Slideshare ppt
 

Similar to eXtensible Markup Language (20)

XML/XSLT
XML/XSLTXML/XSLT
XML/XSLT
 
XML1.pptx
XML1.pptxXML1.pptx
XML1.pptx
 
E05412327
E05412327E05412327
E05412327
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
Xml viva questions
Xml viva questionsXml viva questions
Xml viva questions
 
Jaxp Xmltutorial 11 200108
Jaxp Xmltutorial 11 200108Jaxp Xmltutorial 11 200108
Jaxp Xmltutorial 11 200108
 
Full xml
Full xmlFull xml
Full xml
 
XML Introduction
XML IntroductionXML Introduction
XML Introduction
 
Module 5 XML Notes.pdf
Module 5 XML Notes.pdfModule 5 XML Notes.pdf
Module 5 XML Notes.pdf
 
Xml
XmlXml
Xml
 
XML | Computer Science
XML | Computer ScienceXML | Computer Science
XML | Computer Science
 
XML
XMLXML
XML
 
CTDA Workshop on XML and MODS
CTDA Workshop on XML and MODSCTDA Workshop on XML and MODS
CTDA Workshop on XML and MODS
 
CTDA Workshop on XSL
CTDA Workshop on XSLCTDA Workshop on XSL
CTDA Workshop on XSL
 
XML - Extensive Markup Language
XML - Extensive Markup LanguageXML - Extensive Markup Language
XML - Extensive Markup Language
 
Introduction to XSLT
Introduction to XSLTIntroduction to XSLT
Introduction to XSLT
 
Introduction to xml schema
Introduction to xml schemaIntroduction to xml schema
Introduction to xml schema
 
Sgml and xml
Sgml and xmlSgml and xml
Sgml and xml
 
Applied xml programming for microsoft
Applied xml programming for microsoftApplied xml programming for microsoft
Applied xml programming for microsoft
 
Lecture 1 - Getting to know XML
Lecture 1 - Getting to know XMLLecture 1 - Getting to know XML
Lecture 1 - Getting to know XML
 

Recently uploaded

costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 

Recently uploaded (20)

costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 

eXtensible Markup Language

  • 1. e X tensible M arkup L anguage P repared b y A ditya R aj e X tensible S tylesheet L anguage
  • 2. By end of this presentation, we will be able to know What is XML? Why to choose XML? What is XML schema? XML structure Basics of XML coding
  • 3. What is XML? XML is a general purpose, cross platform, markup language, that is supported by W3C (World Wide Consortium) and is used for communication between systems on different or same platform. XML is used to describe and store data and should not be misunderstood with a programming language. The good news is XML tags are not predefined and you can define your own tags 
  • 4. Why to choose XML? XML stores the data in a structured manner Data can just not be stored but also it can be described to any extent Systems using XML are considered to be highly scalable Structural changes to data can be managed easily Easy to learn and easy to use In machine and human readable format XML is FREE
  • 5. What is a XML schema? XML Schema are guidelines or format for describing data using XML. In order to use XML data it must conform to these standards. The oldest schema format for XML is DTD (Document Type Definition) but it is now obsolete as:  It has no support for new features  Certain aspects of data cannot be described using DTD XSD (XML Schema Definition) is one of the most powerful XML schemas and is commonly used. They allow detailed constraints on an XML document’s logical structure. Finally it depends on the system requirement and data type that which XML schema should be used.
  • 6. XML structure Data Structure of XML can best described as a hierarchy of information like a tree. A hierarchy structure has a parent, child and a sibling relationship with other entities. In XML every entity at any level can have its own properties. Siblings Parent Child Name Age Gender Properties
  • 7. Basic XML coding <addressBook> <contact fName=&quot;john&quot; lName=&quot;“ nickName=&quot;Johny&quot; dob=&quot;1st January 1990&quot;> </contact> <email>john@yahoo.com</email> <numbers> </numbers> <address> </address> <streetAddress>123, x block, Vasant Vihar </streetAddress> <country>India</country> <state>New Delhi</state> <zipCode>110057</zipCode> <mobile>9988998899</mobile> <mobile>9988998800</mobile> <homeNumber>01126150000</homeNumber> <?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?> </addressBook> Address Book Contact Email Numbers Address Mobile Home Phone State Country Street Address Contact Email Numbers Address Mobile Home Phone State Country Street Address
  • 8. Now we are about to know: What is XSL? What is XSLT? What is XPath? Example
  • 9.
  • 10. What is XSLT? XSLT (eXtensible Stylesheet Language Transformation) transforms XML data using XSL to form a well formatted document, usually HTML. About XSLT processors One of the most simplest way of XSLT is client side, so when a XML document is requested by client application, it refers to its related XSL file and the transformation takes place at the client side. This method is not recommended due to compatibility concerns as it is highly possible that client might not support XML transformation or may not support the latest features. Hence it is recommended to perform the transformation at the server level and pass the resulted data to the client, avoiding any compatibility concerns. There are several standalone software and libraries available for performing transformation. Like for ruby on rails we have library named XSLT and for Windows XP we have MSXML 3.
  • 11. What is XPath? XPath (XML Path Language) is used to navigate the data inside XML document to find required information and it is also used for computing values, in simple words XPath is a small query language . XPath expressions Selects first child element of the node nodename/node[1] Selects all nodes in the document //* Selects all child nodes of the node nodename/* Selects attributes @ Selects the parent of the current node .. Selects the current node . Selects nodes in the document from the current node that match the selection no matter where they are // Selects from the root node / Selects all child nodes of the node nodename Description Expression
  • 12. Now lets make XSL for the XML we made before !! Line 2 tells the XML document that which XSL should be used for transformation. FINALLY !!