SlideShare une entreprise Scribd logo
1  sur  12
Télécharger pour lire hors ligne
Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .
Ltd
XML
XML
•   eXtensible Markup Language
•   XML is designed to transport and store data.
•   An XML element is made up of a start tag, an end tag, and
    data in between.
HTML and XML
HTML is used to mark up        XML is used to mark up
text so it can be displayed    data so it can be processed
to users                       by computers

HTML describes both            XML describes only
structure (e.g. <p>, <h2>,     content, or “meaning”
<em>) and appearance (e.g.
<br>, <font>, <i>)

HTML uses a fixed,            In XML, you make up
unchangeable set of tags      your own tags
HTML and XML
• HTML and XML look similar, because they are
  both SGML languages (SGML = Standard
  Generalized Markup Language)
  • Both HTML and XML use elements enclosed in
    tags (e.g. <body>This is an element</body>)
  • Both use tag attributes (e.g.,
    <font face="Verdana" size="+1" color="red">)
  • Both use entities (&lt;, &gt;, &amp;, &quot;,
    &apos;)
XML Schema
• An XML schema describes the structure of an XML document




Types:
   Simple types (integers, strings, ...)
   Complex types (regular expressions, like in DTDs)
XML : Example
<BOOKS>
                                                     BOOKS
<book id=“123” loc=“library”>
  <author>Hull</author>                                       article
                                   loc=“library
  <title>California</title>        ”                  ref
                                            123                555
  <year> 1995 </year>
</book>
                                                       author         title
<article id=“555” ref=“123”>  author
                                               year
  <author>Su</author>                   title
  <title> Purdue</title>      Hull
</article>                         California       1995 Su         Purdue
</BOOKS>
GladeXML
• Allows dynamic loading of user interfaces
  from XML descriptions.
• When one of the objects is created, the XML
  file is read, and the interface is created.
• The GladeXML object provides an interface
  for accessing the widgets in the interface by
  the names assigned to them inside the XML
  description.
Glade Xml Usage
— Class: <glade-xml>
 Derives from <gobject>.
— Function: glade-xml-new (fname mchars)
 (root mchars) (domain mchars) ⇒ (ret <glade-
 xml>)
 Creates a new GladeXML object (and the
 corresponding widgets) from the XML
 file fname.
If this presentation helped you, please visit our
           page facebook.com/baabtra and like it.
                 Thanks in advance.
www.baabtra.com | www.massbaab.com |www.baabte.com
Contact Us

Contenu connexe

Tendances (20)

Xml dom
Xml domXml dom
Xml dom
 
Dom parser
Dom parserDom parser
Dom parser
 
Xml
XmlXml
Xml
 
XML
XMLXML
XML
 
Publishing xml
Publishing xmlPublishing xml
Publishing xml
 
Document Object Model (DOM)
Document Object Model (DOM)Document Object Model (DOM)
Document Object Model (DOM)
 
DOM and SAX
DOM and SAXDOM and SAX
DOM and SAX
 
Introductionto xslt
Introductionto xsltIntroductionto xslt
Introductionto xslt
 
Xpath tutorial
Xpath tutorialXpath tutorial
Xpath tutorial
 
Querring xml with xpath
Querring xml with xpath Querring xml with xpath
Querring xml with xpath
 
Dom(document object model)
Dom(document object model)Dom(document object model)
Dom(document object model)
 
Xml
XmlXml
Xml
 
Dom Hackking & Security - BlackHat Preso
Dom Hackking & Security - BlackHat PresoDom Hackking & Security - BlackHat Preso
Dom Hackking & Security - BlackHat Preso
 
Structured Query Language -SQL
Structured Query Language -SQLStructured Query Language -SQL
Structured Query Language -SQL
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Dom
DomDom
Dom
 
XML
XMLXML
XML
 
Xml databases
Xml databasesXml databases
Xml databases
 
Css color and background properties
Css color and background propertiesCss color and background properties
Css color and background properties
 
Up and Running with the Typelevel Stack
Up and Running with the Typelevel StackUp and Running with the Typelevel Stack
Up and Running with the Typelevel Stack
 

En vedette (6)

Java exeception handling
Java exeception handlingJava exeception handling
Java exeception handling
 
Flowchart& algorithom
Flowchart& algorithomFlowchart& algorithom
Flowchart& algorithom
 
Html tags
Html tagsHtml tags
Html tags
 
XML
XMLXML
XML
 
Stack and heap
Stack and heapStack and heap
Stack and heap
 
MIS
MISMIS
MIS
 

Similaire à XML (20)

Xml 215-presentation
Xml 215-presentationXml 215-presentation
Xml 215-presentation
 
1 xml fundamentals
1 xml fundamentals1 xml fundamentals
1 xml fundamentals
 
Xml
XmlXml
Xml
 
Xml iet 2015
Xml iet 2015Xml iet 2015
Xml iet 2015
 
XML XSLT
XML XSLTXML XSLT
XML XSLT
 
Xml
XmlXml
Xml
 
Xml
XmlXml
Xml
 
Introduction to XSLT
Introduction to XSLTIntroduction to XSLT
Introduction to XSLT
 
Xml processing in scala
Xml processing in scalaXml processing in scala
Xml processing in scala
 
Xml processing in scala
Xml processing in scalaXml processing in scala
Xml processing in scala
 
Unit3wt
Unit3wtUnit3wt
Unit3wt
 
Unit3wt
Unit3wtUnit3wt
Unit3wt
 
Chapter4
Chapter4Chapter4
Chapter4
 
Web page concept Basic
Web page concept  BasicWeb page concept  Basic
Web page concept Basic
 
Web page concept final ppt
Web page concept  final pptWeb page concept  final ppt
Web page concept final ppt
 
eXtensible Markup Language (XML)
eXtensible Markup Language (XML)eXtensible Markup Language (XML)
eXtensible Markup Language (XML)
 
CTDA Workshop on XML and MODS
CTDA Workshop on XML and MODSCTDA Workshop on XML and MODS
CTDA Workshop on XML and MODS
 
Xml intro1
Xml intro1Xml intro1
Xml intro1
 
Xml and DTD's
Xml and DTD'sXml and DTD's
Xml and DTD's
 
Unit iv xml dom
Unit iv xml domUnit iv xml dom
Unit iv xml dom
 

Plus de baabtra.com - No. 1 supplier of quality freshers

Plus de baabtra.com - No. 1 supplier of quality freshers (20)

Agile methodology and scrum development
Agile methodology and scrum developmentAgile methodology and scrum development
Agile methodology and scrum development
 
Best coding practices
Best coding practicesBest coding practices
Best coding practices
 
Core java - baabtra
Core java - baabtraCore java - baabtra
Core java - baabtra
 
Acquiring new skills what you should know
Acquiring new skills   what you should knowAcquiring new skills   what you should know
Acquiring new skills what you should know
 
Baabtra.com programming at school
Baabtra.com programming at schoolBaabtra.com programming at school
Baabtra.com programming at school
 
99LMS for Enterprises - LMS that you will love
99LMS for Enterprises - LMS that you will love 99LMS for Enterprises - LMS that you will love
99LMS for Enterprises - LMS that you will love
 
Php sessions & cookies
Php sessions & cookiesPhp sessions & cookies
Php sessions & cookies
 
Php database connectivity
Php database connectivityPhp database connectivity
Php database connectivity
 
Chapter 6 database normalisation
Chapter 6  database normalisationChapter 6  database normalisation
Chapter 6 database normalisation
 
Chapter 5 transactions and dcl statements
Chapter 5  transactions and dcl statementsChapter 5  transactions and dcl statements
Chapter 5 transactions and dcl statements
 
Chapter 4 functions, views, indexing
Chapter 4  functions, views, indexingChapter 4  functions, views, indexing
Chapter 4 functions, views, indexing
 
Chapter 3 stored procedures
Chapter 3 stored proceduresChapter 3 stored procedures
Chapter 3 stored procedures
 
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
Chapter 2  grouping,scalar and aggergate functions,joins   inner join,outer joinChapter 2  grouping,scalar and aggergate functions,joins   inner join,outer join
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Microsoft holo lens
Microsoft holo lensMicrosoft holo lens
Microsoft holo lens
 
Blue brain
Blue brainBlue brain
Blue brain
 
5g
5g5g
5g
 
Aptitude skills baabtra
Aptitude skills baabtraAptitude skills baabtra
Aptitude skills baabtra
 
Gd baabtra
Gd baabtraGd baabtra
Gd baabtra
 

XML

  • 1.
  • 2. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 3. XML
  • 4. XML • eXtensible Markup Language • XML is designed to transport and store data. • An XML element is made up of a start tag, an end tag, and data in between.
  • 5. HTML and XML HTML is used to mark up XML is used to mark up text so it can be displayed data so it can be processed to users by computers HTML describes both XML describes only structure (e.g. <p>, <h2>, content, or “meaning” <em>) and appearance (e.g. <br>, <font>, <i>) HTML uses a fixed, In XML, you make up unchangeable set of tags your own tags
  • 6. HTML and XML • HTML and XML look similar, because they are both SGML languages (SGML = Standard Generalized Markup Language) • Both HTML and XML use elements enclosed in tags (e.g. <body>This is an element</body>) • Both use tag attributes (e.g., <font face="Verdana" size="+1" color="red">) • Both use entities (&lt;, &gt;, &amp;, &quot;, &apos;)
  • 7. XML Schema • An XML schema describes the structure of an XML document Types: Simple types (integers, strings, ...) Complex types (regular expressions, like in DTDs)
  • 8. XML : Example <BOOKS> BOOKS <book id=“123” loc=“library”> <author>Hull</author> article loc=“library <title>California</title> ” ref 123 555 <year> 1995 </year> </book> author title <article id=“555” ref=“123”> author year <author>Su</author> title <title> Purdue</title> Hull </article> California 1995 Su Purdue </BOOKS>
  • 9. GladeXML • Allows dynamic loading of user interfaces from XML descriptions. • When one of the objects is created, the XML file is read, and the interface is created. • The GladeXML object provides an interface for accessing the widgets in the interface by the names assigned to them inside the XML description.
  • 10. Glade Xml Usage — Class: <glade-xml> Derives from <gobject>. — Function: glade-xml-new (fname mchars) (root mchars) (domain mchars) ⇒ (ret <glade- xml>) Creates a new GladeXML object (and the corresponding widgets) from the XML file fname.
  • 11. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com