SlideShare uma empresa Scribd logo
1 de 21
PRESENTING BY
DDDDDD
12@@@@@
UNDER THE GUIDANCE OF
##########
EXTENSIBLE MARKUP
LANGUAGE
ABSTRACT
EXTENSIBLE MARKUP LANGUAGE
2
 Extensible Markup Language (xml) is a simple markup
language for describing the structure of document .it has been
derived from the Standard Generalized Markup Language
(SGML) for large-scale electronic publishing. it is also used in
data exchange on web. Unlike HTML and other presentation
languages, XML does not display data but carry and store data.
Thus, XML is easy to implement.
EXTENSIBLE MARKUP LANGUAGE 3
• XML has set of rules for creating other markup languages
.Thus , it may be referred as “Meta-markup”. Once a
language is created using XML it can be manipulated by any
number of applications that are designed for specific set of
requirements . xml is a W3C recommendation the W3C is
responsible for releasing the XML versions .The latest version
of XML is XML2.0.
INTRODUCTION
EXTENSIBLE MARKUP LANGUAGE
4
 XML stands for eXtensible Markup Language.
 A markup language is used to provide information about a
document.
 Tags are added to the document to provide the extra information.
 HTML tags tell a browser how to display the document.
 XML tags give a reader some idea what some of the data means.
What is xml used for
EXTENSIBLE MARKUP LANGUAGE
5
 XML documents are used to transfer data from one place to
another often over the Internet.
 XML subsets are designed for particular applications.
 One is RSS (Rich Site Summary or Really Simple Syndication ).
It is used to send breaking news bulletins from one web site to
another.
 A number of fields have their own subsets. These include
chemistry, mathematics, and books publishing.
 Most of these subsets are registered with the W3Consortium and
are available for anyone’s use.
Advantages of XML
EXTENSIBLE MARKUP LANGUAGE
6
 XML is text (Unicode) based.
 Takes up less space.
 Can be transmitted efficiently.
 One XML document can be displayed differently in different
media.
 Html, video, CD, DVD,
 You only have to change the XML document in order to change
all the rest.
 XML documents can be modularized. Parts can be reused.
Example for XML document
EXTENSIBLE MARKUP LANGUAGE
7
<?xml version=“1.0”/>
<address>
<name>Alice Lee</name>
<email>alee@aol.com</email>
<phone>212-346-1234</phone>
<birthday>1985-03-22</birthday>
</address>
Differences between HTML and XML
EXTENSIBLE MARKUP LANGUAGE
8
 HTML tags have a fixed meaning and browsers know what it
is.
 XML tags are different for different applications, and users
know what they mean.
 HTML tags are used for display.
 XML tags are used to describe documents
XML Rules
EXTENSIBLE MARKUP LANGUAGE
9
 Tags are enclosed in angle brackets.
 Tags come in pairs with start-tags and end-tags.
 Tags must be properly nested.
 <name><email>…</name></email> is not allowed.
 <name><email>…</email><name> is.
 Tags that do not have end-tags must be terminated by a ‘/’.
 <br /> is an html example.
More XML Rules
EXTENSIBLE MARKUP LANGUAGE
10
 Tags are case sensitive.
 <address> is not the same as <Address>
 XML in any combination of cases is not allowed as part of a tag.
 Tags may not contain ‘<‘ or ‘&’.
 Tags follow Java naming conventions, except that a single colon
and other characters are allowed. They must begin with a letter
and may not contain white space.
 Documents must have a single root tag that begins the document.
Encoding
EXTENSIBLE MARKUP LANGUAGE
11
 XML (like Java) uses Unicode to encode characters.
 Unicode comes in many flavors. The most common one used
in the West is UTF-8.
 UTF-8 is a variable length code. Characters are encoded in 1
byte, 2 bytes, or 4 bytes.
 The first 128 characters in Unicode are ASCII.
 In UTF-8, the numbers between 128 and 255 code for some of
the more common characters used in western Europe, such as
ã, á, å, or ç.
 Two byte codes are used for some characters not listed in the
first 256 and some Asian ideographs.
 Four byte codes can handle any ideographs that are left.
 Those using non-western languages should investigate other
versions of Unicode.
Well-Formed Documents
EXTENSIBLE MARKUP LANGUAGE
12
 An XML document is said to be well-formed if it follows all the
rules.
 An XML parser is used to check that all the rules have been
obeyed.
 Recent browsers such as Internet Explorer 5 and Netscape 7
come with XML parsers.
 Parsers are also available for free download over the Internet.
One is Xerces, from the Apache open-source project.
 Java 1.4 also supports an open-source parser
XML Trees
EXTENSIBLE MARKUP LANGUAGE
13
 An XML document has a single root node.
 The tree is a general ordered tree.
 A parent node may have any number of children.
 Child nodes are ordered, and may have siblings.
 Preorder traversals are usually used for getting information out
of the tree.
Validity
EXTENSIBLE MARKUP LANGUAGE
14
 A well-formed document has a tree structure and obeys all the
XML rules.
 A particular application may add more rules in either a DTD
(document type definition) or in a schema.
 Many specialized DTDs and schemas have been created to
describe particular areas.
 These range from disseminating news bulletins (RSS) to
chemical formulas.
 DTDs were developed first, so they are not as comprehensive
as schema.
Document Type Definitions
EXTENSIBLE MARKUP LANGUAGE
15
 A DTD describes the tree structure of a document and
something about its data.
 There are two data types, PCDATA and CDATA.
 PCDATA is parsed character data.
 CDATA is character data, not usually parsed.
 A DTD determines how many times a node may appear, and
how child nodes are ordered.
DTD for address Example
EXTENSIBLE MARKUP LANGUAGE
16
<!ELEMENT address (name, email, phone, birthday)>
<!ELEMENT name (first, last)>
<!ELEMENT first (#PCDATA)>
<!ELEMENT last (#PCDATA)>
<!ELEMENT email (#PCDATA)>
<!ELEMENT phone (#PCDATA)>
<!ELEMENT birthday (year, month, day)>
<!ELEMENT year (#PCDATA)>
<!ELEMENT month (#PCDATA)>
<!ELEMENT day (#PCDATA)>
Schemas
EXTENSIBLE MARKUP LANGUAGE
17
 Schemas are themselves XML documents.
 They were standardized after DTDs and provide more
information about the document.
 They have a number of data types including string, decimal,
integer, boolean, date, and time.
 They divide elements into simple and complex types.
 They also determine the tree structure and how many children a
node may have.
Parsers
EXTENSIBLE MARKUP LANGUAGE
18
 There are two principal models for parsers.
 SAX – Simple API for XML
 Uses a call-back method
 Similar to javax listeners
 DOM – Document Object Model
 Creates a parse tree
 Requires a tree traversal
References
EXTENSIBLE MARKUP LANGUAGE
19
 Elliotte Rusty Harold, Processing XML with Java, Addison
Wesley, 2002.
 Elliotte Rusty Harold and Scott Means, XML Programming,
O’Reilly & Associates, Inc., 2002.
conclusion
EXTENSIBLE MARKUP LANGUAGE
20
 XML has quickly become the data interchange medium
for large & small companies to do business
 Strong industry support
 Portable & maintainable code
 Cost-effective method for doing business
 Continuing push for eCommerce/eBusiness
THANK YOU

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

XML - EXtensible Markup Language
XML - EXtensible Markup LanguageXML - EXtensible Markup Language
XML - EXtensible Markup Language
 
What is xml
What is xmlWhat is xml
What is xml
 
XML
XMLXML
XML
 
Xml tutorial
Xml tutorialXml tutorial
Xml tutorial
 
XML
XMLXML
XML
 
Xml
XmlXml
Xml
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Xml
XmlXml
Xml
 
XML | Computer Science
XML | Computer ScienceXML | Computer Science
XML | Computer Science
 
CrashCourse: XML technologies
CrashCourse: XML technologiesCrashCourse: XML technologies
CrashCourse: XML technologies
 
Intro xml
Intro xmlIntro xml
Intro xml
 
XML
XMLXML
XML
 
XML
XMLXML
XML
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
SQL Server - Querying and Managing XML Data
SQL Server - Querying and Managing XML DataSQL Server - Querying and Managing XML Data
SQL Server - Querying and Managing XML Data
 
Sgml and xml
Sgml and xmlSgml and xml
Sgml and xml
 
Xml For Dummies Chapter 14 Processing Xml it-slideshares.blogspot.com
Xml For Dummies   Chapter 14 Processing Xml it-slideshares.blogspot.comXml For Dummies   Chapter 14 Processing Xml it-slideshares.blogspot.com
Xml For Dummies Chapter 14 Processing Xml it-slideshares.blogspot.com
 
Xml presentation
Xml presentationXml presentation
Xml presentation
 
XML
XMLXML
XML
 
Fergus Fahey - DRI/ARA(I) Training: Introduction to EAD - Introduction to XML
Fergus Fahey - DRI/ARA(I) Training: Introduction to EAD - Introduction to XMLFergus Fahey - DRI/ARA(I) Training: Introduction to EAD - Introduction to XML
Fergus Fahey - DRI/ARA(I) Training: Introduction to EAD - Introduction to XML
 

Semelhante a EXTENSIBLE MARKUP LANGUAGE BY SAIKIRAN PANJALA

Semelhante a EXTENSIBLE MARKUP LANGUAGE BY SAIKIRAN PANJALA (20)

Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
Module 5 XML Notes.pdf
Module 5 XML Notes.pdfModule 5 XML Notes.pdf
Module 5 XML Notes.pdf
 
XML Introduction
XML IntroductionXML Introduction
XML Introduction
 
XML/XSLT
XML/XSLTXML/XSLT
XML/XSLT
 
eXtensible Markup Language
eXtensible Markup LanguageeXtensible Markup Language
eXtensible Markup Language
 
Introducing xml
Introducing xmlIntroducing xml
Introducing xml
 
Xml unit1
Xml unit1Xml unit1
Xml unit1
 
93 peter butterfield
93 peter butterfield93 peter butterfield
93 peter butterfield
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Xml programming language myassignmenthelp.net
Xml programming  language myassignmenthelp.netXml programming  language myassignmenthelp.net
Xml programming language myassignmenthelp.net
 
xml and xhtml.pptx
xml and xhtml.pptxxml and xhtml.pptx
xml and xhtml.pptx
 
XML
XMLXML
XML
 
Introduction to XML.ppt
Introduction to XML.pptIntroduction to XML.ppt
Introduction to XML.ppt
 
Introduction to XML.ppt
Introduction to XML.pptIntroduction to XML.ppt
Introduction to XML.ppt
 
Xml
XmlXml
Xml
 
XML, XML Databases and MPEG-7
XML, XML Databases and MPEG-7XML, XML Databases and MPEG-7
XML, XML Databases and MPEG-7
 
Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Full xml
Full xmlFull xml
Full xml
 
E05412327
E05412327E05412327
E05412327
 
uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2uptu web technology unit 2 Xml2
uptu web technology unit 2 Xml2
 

Mais de Saikiran Panjala

DEVELOPMENT OF INTERNET BY SAIKIRAN PANJALA
DEVELOPMENT OF INTERNET BY SAIKIRAN PANJALADEVELOPMENT OF INTERNET BY SAIKIRAN PANJALA
DEVELOPMENT OF INTERNET BY SAIKIRAN PANJALASaikiran Panjala
 
VIRTUAL PRIVATE NETWORKS BY SAIKIRAN PANJALA
VIRTUAL PRIVATE NETWORKS BY SAIKIRAN PANJALAVIRTUAL PRIVATE NETWORKS BY SAIKIRAN PANJALA
VIRTUAL PRIVATE NETWORKS BY SAIKIRAN PANJALASaikiran Panjala
 
HUMAN COMPUTER INTERACTION TECHNIQUES BY SAIKIRAN PANJALA
HUMAN COMPUTER INTERACTION TECHNIQUES BY SAIKIRAN PANJALAHUMAN COMPUTER INTERACTION TECHNIQUES BY SAIKIRAN PANJALA
HUMAN COMPUTER INTERACTION TECHNIQUES BY SAIKIRAN PANJALASaikiran Panjala
 
A Technical Seminar on Quantum Computers By SAIKIRAN PANJALA
A Technical Seminar on Quantum Computers By SAIKIRAN PANJALAA Technical Seminar on Quantum Computers By SAIKIRAN PANJALA
A Technical Seminar on Quantum Computers By SAIKIRAN PANJALASaikiran Panjala
 
Voice over IP By SAIKIRAN PANJALA
Voice over IP By SAIKIRAN PANJALAVoice over IP By SAIKIRAN PANJALA
Voice over IP By SAIKIRAN PANJALASaikiran Panjala
 
LATEST TRENDS IN ANDROID TECHNOLOGY BY SAIKIRAN PANJALA
LATEST TRENDS IN ANDROID TECHNOLOGY BY SAIKIRAN PANJALALATEST TRENDS IN ANDROID TECHNOLOGY BY SAIKIRAN PANJALA
LATEST TRENDS IN ANDROID TECHNOLOGY BY SAIKIRAN PANJALASaikiran Panjala
 
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALADATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALASaikiran Panjala
 
Mobile Voice over Internet Protocol By SAIKIRAN PANJALA
Mobile Voice over Internet Protocol By SAIKIRAN PANJALAMobile Voice over Internet Protocol By SAIKIRAN PANJALA
Mobile Voice over Internet Protocol By SAIKIRAN PANJALASaikiran Panjala
 
FEATURES OF CLOUD COMPUTING BY SAIKIRAN PANJALA
FEATURES OF CLOUD COMPUTING BY SAIKIRAN PANJALAFEATURES OF CLOUD COMPUTING BY SAIKIRAN PANJALA
FEATURES OF CLOUD COMPUTING BY SAIKIRAN PANJALASaikiran Panjala
 
CLOUD COMPUTING AND SERVICES BY SAIKIRAN PANJALA
CLOUD COMPUTING AND SERVICES BY SAIKIRAN PANJALACLOUD COMPUTING AND SERVICES BY SAIKIRAN PANJALA
CLOUD COMPUTING AND SERVICES BY SAIKIRAN PANJALASaikiran Panjala
 
Digital Audio Broadcasting By SAIKIRAN PANJALA
Digital  Audio Broadcasting By SAIKIRAN PANJALADigital  Audio Broadcasting By SAIKIRAN PANJALA
Digital Audio Broadcasting By SAIKIRAN PANJALASaikiran Panjala
 
Bluetooth Based Smart Sensor Network By SAIKIRAN PANJALA
Bluetooth Based Smart Sensor Network By SAIKIRAN PANJALABluetooth Based Smart Sensor Network By SAIKIRAN PANJALA
Bluetooth Based Smart Sensor Network By SAIKIRAN PANJALASaikiran Panjala
 
AN ATM WITH AN EYE BY SAIKIRAN PANJALA
AN  ATM WITH  AN  EYE BY SAIKIRAN PANJALAAN  ATM WITH  AN  EYE BY SAIKIRAN PANJALA
AN ATM WITH AN EYE BY SAIKIRAN PANJALASaikiran Panjala
 
FIREWALLS BY SAIKIRAN PANJALA
FIREWALLS BY SAIKIRAN PANJALAFIREWALLS BY SAIKIRAN PANJALA
FIREWALLS BY SAIKIRAN PANJALASaikiran Panjala
 
WIRELESS NETWORKED DIGITAL DEVICES BY SAIKIRAN PANJALA
WIRELESS NETWORKED DIGITAL DEVICES BY SAIKIRAN PANJALAWIRELESS NETWORKED DIGITAL DEVICES BY SAIKIRAN PANJALA
WIRELESS NETWORKED DIGITAL DEVICES BY SAIKIRAN PANJALASaikiran Panjala
 
DATA BASE MANAGEMENT SYSTEM BY SAIKIRAN PANJALA
DATA BASE  MANAGEMENT SYSTEM BY SAIKIRAN PANJALADATA BASE  MANAGEMENT SYSTEM BY SAIKIRAN PANJALA
DATA BASE MANAGEMENT SYSTEM BY SAIKIRAN PANJALASaikiran Panjala
 
ACTIVE SERVER PAGES BY SAIKIRAN PANJALA
ACTIVE SERVER PAGES BY SAIKIRAN PANJALAACTIVE SERVER PAGES BY SAIKIRAN PANJALA
ACTIVE SERVER PAGES BY SAIKIRAN PANJALASaikiran Panjala
 
GSM SECURITY AND ENCRYPTION BY SAIKIRAN PANJALA
GSM SECURITY AND ENCRYPTION BY SAIKIRAN PANJALAGSM SECURITY AND ENCRYPTION BY SAIKIRAN PANJALA
GSM SECURITY AND ENCRYPTION BY SAIKIRAN PANJALASaikiran Panjala
 
INTRANET MAILING SYSTEM BY SAIKIRAN PANJALA
INTRANET MAILING SYSTEM BY SAIKIRAN PANJALAINTRANET MAILING SYSTEM BY SAIKIRAN PANJALA
INTRANET MAILING SYSTEM BY SAIKIRAN PANJALASaikiran Panjala
 
DVD TECHNOLOGY SANTHOSH GUNDA BY SAIKIRAN PANJALA
DVD TECHNOLOGY SANTHOSH GUNDA BY SAIKIRAN PANJALADVD TECHNOLOGY SANTHOSH GUNDA BY SAIKIRAN PANJALA
DVD TECHNOLOGY SANTHOSH GUNDA BY SAIKIRAN PANJALASaikiran Panjala
 

Mais de Saikiran Panjala (20)

DEVELOPMENT OF INTERNET BY SAIKIRAN PANJALA
DEVELOPMENT OF INTERNET BY SAIKIRAN PANJALADEVELOPMENT OF INTERNET BY SAIKIRAN PANJALA
DEVELOPMENT OF INTERNET BY SAIKIRAN PANJALA
 
VIRTUAL PRIVATE NETWORKS BY SAIKIRAN PANJALA
VIRTUAL PRIVATE NETWORKS BY SAIKIRAN PANJALAVIRTUAL PRIVATE NETWORKS BY SAIKIRAN PANJALA
VIRTUAL PRIVATE NETWORKS BY SAIKIRAN PANJALA
 
HUMAN COMPUTER INTERACTION TECHNIQUES BY SAIKIRAN PANJALA
HUMAN COMPUTER INTERACTION TECHNIQUES BY SAIKIRAN PANJALAHUMAN COMPUTER INTERACTION TECHNIQUES BY SAIKIRAN PANJALA
HUMAN COMPUTER INTERACTION TECHNIQUES BY SAIKIRAN PANJALA
 
A Technical Seminar on Quantum Computers By SAIKIRAN PANJALA
A Technical Seminar on Quantum Computers By SAIKIRAN PANJALAA Technical Seminar on Quantum Computers By SAIKIRAN PANJALA
A Technical Seminar on Quantum Computers By SAIKIRAN PANJALA
 
Voice over IP By SAIKIRAN PANJALA
Voice over IP By SAIKIRAN PANJALAVoice over IP By SAIKIRAN PANJALA
Voice over IP By SAIKIRAN PANJALA
 
LATEST TRENDS IN ANDROID TECHNOLOGY BY SAIKIRAN PANJALA
LATEST TRENDS IN ANDROID TECHNOLOGY BY SAIKIRAN PANJALALATEST TRENDS IN ANDROID TECHNOLOGY BY SAIKIRAN PANJALA
LATEST TRENDS IN ANDROID TECHNOLOGY BY SAIKIRAN PANJALA
 
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALADATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
 
Mobile Voice over Internet Protocol By SAIKIRAN PANJALA
Mobile Voice over Internet Protocol By SAIKIRAN PANJALAMobile Voice over Internet Protocol By SAIKIRAN PANJALA
Mobile Voice over Internet Protocol By SAIKIRAN PANJALA
 
FEATURES OF CLOUD COMPUTING BY SAIKIRAN PANJALA
FEATURES OF CLOUD COMPUTING BY SAIKIRAN PANJALAFEATURES OF CLOUD COMPUTING BY SAIKIRAN PANJALA
FEATURES OF CLOUD COMPUTING BY SAIKIRAN PANJALA
 
CLOUD COMPUTING AND SERVICES BY SAIKIRAN PANJALA
CLOUD COMPUTING AND SERVICES BY SAIKIRAN PANJALACLOUD COMPUTING AND SERVICES BY SAIKIRAN PANJALA
CLOUD COMPUTING AND SERVICES BY SAIKIRAN PANJALA
 
Digital Audio Broadcasting By SAIKIRAN PANJALA
Digital  Audio Broadcasting By SAIKIRAN PANJALADigital  Audio Broadcasting By SAIKIRAN PANJALA
Digital Audio Broadcasting By SAIKIRAN PANJALA
 
Bluetooth Based Smart Sensor Network By SAIKIRAN PANJALA
Bluetooth Based Smart Sensor Network By SAIKIRAN PANJALABluetooth Based Smart Sensor Network By SAIKIRAN PANJALA
Bluetooth Based Smart Sensor Network By SAIKIRAN PANJALA
 
AN ATM WITH AN EYE BY SAIKIRAN PANJALA
AN  ATM WITH  AN  EYE BY SAIKIRAN PANJALAAN  ATM WITH  AN  EYE BY SAIKIRAN PANJALA
AN ATM WITH AN EYE BY SAIKIRAN PANJALA
 
FIREWALLS BY SAIKIRAN PANJALA
FIREWALLS BY SAIKIRAN PANJALAFIREWALLS BY SAIKIRAN PANJALA
FIREWALLS BY SAIKIRAN PANJALA
 
WIRELESS NETWORKED DIGITAL DEVICES BY SAIKIRAN PANJALA
WIRELESS NETWORKED DIGITAL DEVICES BY SAIKIRAN PANJALAWIRELESS NETWORKED DIGITAL DEVICES BY SAIKIRAN PANJALA
WIRELESS NETWORKED DIGITAL DEVICES BY SAIKIRAN PANJALA
 
DATA BASE MANAGEMENT SYSTEM BY SAIKIRAN PANJALA
DATA BASE  MANAGEMENT SYSTEM BY SAIKIRAN PANJALADATA BASE  MANAGEMENT SYSTEM BY SAIKIRAN PANJALA
DATA BASE MANAGEMENT SYSTEM BY SAIKIRAN PANJALA
 
ACTIVE SERVER PAGES BY SAIKIRAN PANJALA
ACTIVE SERVER PAGES BY SAIKIRAN PANJALAACTIVE SERVER PAGES BY SAIKIRAN PANJALA
ACTIVE SERVER PAGES BY SAIKIRAN PANJALA
 
GSM SECURITY AND ENCRYPTION BY SAIKIRAN PANJALA
GSM SECURITY AND ENCRYPTION BY SAIKIRAN PANJALAGSM SECURITY AND ENCRYPTION BY SAIKIRAN PANJALA
GSM SECURITY AND ENCRYPTION BY SAIKIRAN PANJALA
 
INTRANET MAILING SYSTEM BY SAIKIRAN PANJALA
INTRANET MAILING SYSTEM BY SAIKIRAN PANJALAINTRANET MAILING SYSTEM BY SAIKIRAN PANJALA
INTRANET MAILING SYSTEM BY SAIKIRAN PANJALA
 
DVD TECHNOLOGY SANTHOSH GUNDA BY SAIKIRAN PANJALA
DVD TECHNOLOGY SANTHOSH GUNDA BY SAIKIRAN PANJALADVD TECHNOLOGY SANTHOSH GUNDA BY SAIKIRAN PANJALA
DVD TECHNOLOGY SANTHOSH GUNDA BY SAIKIRAN PANJALA
 

Último

computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitterShivangiSharma879191
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 

Último (20)

young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 

EXTENSIBLE MARKUP LANGUAGE BY SAIKIRAN PANJALA

  • 1. PRESENTING BY DDDDDD 12@@@@@ UNDER THE GUIDANCE OF ########## EXTENSIBLE MARKUP LANGUAGE
  • 2. ABSTRACT EXTENSIBLE MARKUP LANGUAGE 2  Extensible Markup Language (xml) is a simple markup language for describing the structure of document .it has been derived from the Standard Generalized Markup Language (SGML) for large-scale electronic publishing. it is also used in data exchange on web. Unlike HTML and other presentation languages, XML does not display data but carry and store data. Thus, XML is easy to implement.
  • 3. EXTENSIBLE MARKUP LANGUAGE 3 • XML has set of rules for creating other markup languages .Thus , it may be referred as “Meta-markup”. Once a language is created using XML it can be manipulated by any number of applications that are designed for specific set of requirements . xml is a W3C recommendation the W3C is responsible for releasing the XML versions .The latest version of XML is XML2.0.
  • 4. INTRODUCTION EXTENSIBLE MARKUP LANGUAGE 4  XML stands for eXtensible Markup Language.  A markup language is used to provide information about a document.  Tags are added to the document to provide the extra information.  HTML tags tell a browser how to display the document.  XML tags give a reader some idea what some of the data means.
  • 5. What is xml used for EXTENSIBLE MARKUP LANGUAGE 5  XML documents are used to transfer data from one place to another often over the Internet.  XML subsets are designed for particular applications.  One is RSS (Rich Site Summary or Really Simple Syndication ). It is used to send breaking news bulletins from one web site to another.  A number of fields have their own subsets. These include chemistry, mathematics, and books publishing.  Most of these subsets are registered with the W3Consortium and are available for anyone’s use.
  • 6. Advantages of XML EXTENSIBLE MARKUP LANGUAGE 6  XML is text (Unicode) based.  Takes up less space.  Can be transmitted efficiently.  One XML document can be displayed differently in different media.  Html, video, CD, DVD,  You only have to change the XML document in order to change all the rest.  XML documents can be modularized. Parts can be reused.
  • 7. Example for XML document EXTENSIBLE MARKUP LANGUAGE 7 <?xml version=“1.0”/> <address> <name>Alice Lee</name> <email>alee@aol.com</email> <phone>212-346-1234</phone> <birthday>1985-03-22</birthday> </address>
  • 8. Differences between HTML and XML EXTENSIBLE MARKUP LANGUAGE 8  HTML tags have a fixed meaning and browsers know what it is.  XML tags are different for different applications, and users know what they mean.  HTML tags are used for display.  XML tags are used to describe documents
  • 9. XML Rules EXTENSIBLE MARKUP LANGUAGE 9  Tags are enclosed in angle brackets.  Tags come in pairs with start-tags and end-tags.  Tags must be properly nested.  <name><email>…</name></email> is not allowed.  <name><email>…</email><name> is.  Tags that do not have end-tags must be terminated by a ‘/’.  <br /> is an html example.
  • 10. More XML Rules EXTENSIBLE MARKUP LANGUAGE 10  Tags are case sensitive.  <address> is not the same as <Address>  XML in any combination of cases is not allowed as part of a tag.  Tags may not contain ‘<‘ or ‘&’.  Tags follow Java naming conventions, except that a single colon and other characters are allowed. They must begin with a letter and may not contain white space.  Documents must have a single root tag that begins the document.
  • 11. Encoding EXTENSIBLE MARKUP LANGUAGE 11  XML (like Java) uses Unicode to encode characters.  Unicode comes in many flavors. The most common one used in the West is UTF-8.  UTF-8 is a variable length code. Characters are encoded in 1 byte, 2 bytes, or 4 bytes.  The first 128 characters in Unicode are ASCII.  In UTF-8, the numbers between 128 and 255 code for some of the more common characters used in western Europe, such as ã, á, å, or ç.  Two byte codes are used for some characters not listed in the first 256 and some Asian ideographs.  Four byte codes can handle any ideographs that are left.  Those using non-western languages should investigate other versions of Unicode.
  • 12. Well-Formed Documents EXTENSIBLE MARKUP LANGUAGE 12  An XML document is said to be well-formed if it follows all the rules.  An XML parser is used to check that all the rules have been obeyed.  Recent browsers such as Internet Explorer 5 and Netscape 7 come with XML parsers.  Parsers are also available for free download over the Internet. One is Xerces, from the Apache open-source project.  Java 1.4 also supports an open-source parser
  • 13. XML Trees EXTENSIBLE MARKUP LANGUAGE 13  An XML document has a single root node.  The tree is a general ordered tree.  A parent node may have any number of children.  Child nodes are ordered, and may have siblings.  Preorder traversals are usually used for getting information out of the tree.
  • 14. Validity EXTENSIBLE MARKUP LANGUAGE 14  A well-formed document has a tree structure and obeys all the XML rules.  A particular application may add more rules in either a DTD (document type definition) or in a schema.  Many specialized DTDs and schemas have been created to describe particular areas.  These range from disseminating news bulletins (RSS) to chemical formulas.  DTDs were developed first, so they are not as comprehensive as schema.
  • 15. Document Type Definitions EXTENSIBLE MARKUP LANGUAGE 15  A DTD describes the tree structure of a document and something about its data.  There are two data types, PCDATA and CDATA.  PCDATA is parsed character data.  CDATA is character data, not usually parsed.  A DTD determines how many times a node may appear, and how child nodes are ordered.
  • 16. DTD for address Example EXTENSIBLE MARKUP LANGUAGE 16 <!ELEMENT address (name, email, phone, birthday)> <!ELEMENT name (first, last)> <!ELEMENT first (#PCDATA)> <!ELEMENT last (#PCDATA)> <!ELEMENT email (#PCDATA)> <!ELEMENT phone (#PCDATA)> <!ELEMENT birthday (year, month, day)> <!ELEMENT year (#PCDATA)> <!ELEMENT month (#PCDATA)> <!ELEMENT day (#PCDATA)>
  • 17. Schemas EXTENSIBLE MARKUP LANGUAGE 17  Schemas are themselves XML documents.  They were standardized after DTDs and provide more information about the document.  They have a number of data types including string, decimal, integer, boolean, date, and time.  They divide elements into simple and complex types.  They also determine the tree structure and how many children a node may have.
  • 18. Parsers EXTENSIBLE MARKUP LANGUAGE 18  There are two principal models for parsers.  SAX – Simple API for XML  Uses a call-back method  Similar to javax listeners  DOM – Document Object Model  Creates a parse tree  Requires a tree traversal
  • 19. References EXTENSIBLE MARKUP LANGUAGE 19  Elliotte Rusty Harold, Processing XML with Java, Addison Wesley, 2002.  Elliotte Rusty Harold and Scott Means, XML Programming, O’Reilly & Associates, Inc., 2002.
  • 20. conclusion EXTENSIBLE MARKUP LANGUAGE 20  XML has quickly become the data interchange medium for large & small companies to do business  Strong industry support  Portable & maintainable code  Cost-effective method for doing business  Continuing push for eCommerce/eBusiness