• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content





Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    XML XML Presentation Transcript

    • Disclaimer: This presentation is prepared by trainees ofbaabtra as a part of mentoring program. This is not officialdocument of baabtra –Mentoring PartnerBaabtra-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 XMLHTML is used to mark up XML is used to mark uptext so it can be displayed data so it can be processedto users by computersHTML describes both XML describes onlystructure (e.g. <p>, <h2>, content, or “meaning”<em>) and appearance (e.g.<br>, <font>, <i>)HTML uses a fixed, In XML, you make upunchangeable 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 documentTypes: 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