SlideShare a Scribd company logo
1 of 9
VISION ACADEMY (BCA,BBA(CA),BCS,MCA)
XML
With Teacher Sachin
Zurange
WHA T IS X ML?
• XML stands for Extensible Markup Language
• XML is a markup language much like HTML
•XML is text-based markup language that enables to
store data
in structure format by using meaningful tags.
•XML tags are not predefined. You must define your
own tags
• XML is designed to be self-descriptive
•XML is a W3C (World Wide Web Consortium
Recommendation
Feature of XML
1.XML Separates Data from HTML if you need to display dynamic data in your HTML
document, it will take a lot of work to edit the HTML each time the data changes. With
XML, data can be stored in separate XML files.
This way you can concentrate on using HTML/CSS for display and layout, and be sure
that changes in the underlying data will not require any changes to the HTML.
With a few lines of JavaScript code, you can read an external XML file and update the
data content of your web page.
2XML Simplifies Data Sharing In the real world, computer systems and
atabases contain data in incompatible formats.XML data is stored in plain
text format. This provides a software and hardware-independent way of
storing data. This makes it much easier to create data that can be shared
by different applications.
XML DOCUMENT STRUCTURE OR COMPONENENT OF XML
DOCUMENT
PROLOG SECTION
Document Prolog comes at the
top of the document, before the
root element. This section
contains −
• XML declaration
• Document type declaration
XML DECLARATION
XML declaration contains details that
prepare an XML processor to parse the
XML document. It is optional, but when
used, it must appear in the first line of the
XML document. <?xml version =
"version_number" encoding =
"encoding_declaration" ?>
It defines the XML version (1.0) and the
encoding information such as ISO-8859-
1,UTF-8,UTF-16
e.g
<?xml version="1.0" encoding="ISO-
8859-1"?>
Document Elements Section
DOCUMENT ELEMENTS ARE THE BUILDING BLOCKS OF XML. ELEMENTS CAN
BEHAVE AS CONTAINERS TO HOLD TEXT, ELEMENTS, ATTRIBUTES ETC
<ELEMENT-NAME ATTRIBUTE1 ATTRIBUTE2> ....CONTENT </ELEMENT-
NAME>
•ELEMENT-NAME IS THE NAME OF THE ELEMENT. THE NAME ITS CASE IN
THE START AND END TAGS MUST MATCH.
A MA RKUP CONSTRUCT THA T BEGINS WITH <A ND ENDS WITH >. TA GS
COME IN THREE WA YS
•START-TAGS; FOR EXAMPLE: <SECTION>
•END-TAGS; FOR EXAMPLE: </SECTION>
•EMPTY-ELEMENT TAGS; FOR EXAMPLE: <SECTION/>
•ATTRIBUTE1, ATTRIBUTE2 ARE ATTRIBUTES OF THE ELEMENT SEPARATED
BY WHITE SPACES. AN ATTRIBUTE DEFINES A PROPERTY OF THE ELEMENT.
IT ASSOCIATES A NAME WITH A VALUE, WHICH IS A STRING OF
CHARACTERS. AN ATTRIBUTE IS WRITTEN AS NAME=”VALUE”
XML SYNTAX RULES
1 All XML Elements Must Have a Closing Tag
In HTML, some elements do not have to have a closing tag:
<p>This is a paragraph.In XML, it is illegal to omit the closing tag. All elements
must have a closing tag:<p>This is a paragraph.</p>
2.XML Tags are Case Sensitive
XML tags are case sensitive. The tag <Letter> is different from the tag <letter>.Opening and closing
tags must be written with the same case:<Message>This is incorrect</message>
<message>This is c orrect</message>
3.XML Elements Must be Properly Nested
In HTML, you might see improperly nested elements:<b><i>This text is bold and italic</b></i>
In XML, all elements must be properly nested within each other:<b><i>This text is bold and italic</i></b
4.XML Documents Must Have a Root Element
XML documents must contain one element that is the parent of all other elements. This element is called the
root element.<root>
<child>
<subchild>.....</subchild>
</child>
</root>
XML 2 type of reference
1. Entity References:
Some characters have a special meaning in XML. If you place a character like "<" inside an XML
element, it will generate an error because the parser interprets it as the start of a new element.
2.Character References:
A character reference gives the number of the particular Unicode
character it stands for, in eit her decimal or hexadecimal.
Dec imal character references look like &# hexadecimal character references
have an extra x after the &#&#;, that is, they look like &#
APPLICATION OF XML
1.Web publishing
X ML allows the developers to save the data into X ML files & use X SLT
transformation
API’S to generate content in the required format such as HTML, XHTML
2. Web Searching
It can use XML data & then search the data from the XML file & display it to
the user
3. Data Transfer
It can use XML to save configuration or business data for our application
4. Created Other languages
Many language are created using XML such as WML
Email Address
sachin.zurange@gmail.com
Mobile Number
(9822506209/9823037693)
Consultation Hours
4 PM to 6 PM
QUESTIONS?
CLA RIFICA TIONS?
Please feel free to contact me,
Teacher Sachin Zurange through email or phone.

More Related Content

What's hot

Xml tutorial
Xml tutorialXml tutorial
Xml tutorialIT
 
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xml
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xmlXml theory 2005_[ngohaianh.info]_1_introduction-to-xml
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xmlÔng Thông
 
Xml in bio medical field
Xml in bio medical fieldXml in bio medical field
Xml in bio medical fieldJuman Ghazi
 
Xml Presentation-3
Xml Presentation-3Xml Presentation-3
Xml Presentation-3Sudharsan S
 
Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)AakankshaR
 
XML-Extensible Markup Language
XML-Extensible Markup Language XML-Extensible Markup Language
XML-Extensible Markup Language Ann Joseph
 
Xml and xml processor
Xml and xml processorXml and xml processor
Xml and xml processorHimanshu Soni
 
Xml programming language myassignmenthelp.net
Xml programming  language myassignmenthelp.netXml programming  language myassignmenthelp.net
Xml programming language myassignmenthelp.netwww.myassignmenthelp.net
 
M.FLORENCE DAYANA WEB DESIGN -Unit 5 XML
M.FLORENCE DAYANA WEB DESIGN -Unit 5   XMLM.FLORENCE DAYANA WEB DESIGN -Unit 5   XML
M.FLORENCE DAYANA WEB DESIGN -Unit 5 XMLDr.Florence Dayana
 
Xml 150323102007-conversion-gate01
Xml 150323102007-conversion-gate01Xml 150323102007-conversion-gate01
Xml 150323102007-conversion-gate01Niraj Bharambe
 
Xml data transformation
Xml data transformationXml data transformation
Xml data transformationRaghu nath
 

What's hot (20)

Xml ppt
Xml pptXml ppt
Xml ppt
 
Xml tutorial
Xml tutorialXml tutorial
Xml tutorial
 
XML
XMLXML
XML
 
XML
XMLXML
XML
 
XML
XMLXML
XML
 
Python xml processing
Python   xml processingPython   xml processing
Python xml processing
 
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xml
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xmlXml theory 2005_[ngohaianh.info]_1_introduction-to-xml
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xml
 
XML
XMLXML
XML
 
Xml in bio medical field
Xml in bio medical fieldXml in bio medical field
Xml in bio medical field
 
Xml Presentation-3
Xml Presentation-3Xml Presentation-3
Xml Presentation-3
 
Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)
 
XML-Extensible Markup Language
XML-Extensible Markup Language XML-Extensible Markup Language
XML-Extensible Markup Language
 
Xml and xml processor
Xml and xml processorXml and xml processor
Xml and xml processor
 
Xml
XmlXml
Xml
 
Xml programming language myassignmenthelp.net
Xml programming  language myassignmenthelp.netXml programming  language myassignmenthelp.net
Xml programming language myassignmenthelp.net
 
M.FLORENCE DAYANA WEB DESIGN -Unit 5 XML
M.FLORENCE DAYANA WEB DESIGN -Unit 5   XMLM.FLORENCE DAYANA WEB DESIGN -Unit 5   XML
M.FLORENCE DAYANA WEB DESIGN -Unit 5 XML
 
Basics of XML
Basics of XMLBasics of XML
Basics of XML
 
Xml basics for beginning
Xml basics for beginningXml basics for beginning
Xml basics for beginning
 
Xml 150323102007-conversion-gate01
Xml 150323102007-conversion-gate01Xml 150323102007-conversion-gate01
Xml 150323102007-conversion-gate01
 
Xml data transformation
Xml data transformationXml data transformation
Xml data transformation
 

Similar to PHP XML (20)

Xml
Xml Xml
Xml
 
XML - Extensible Markup Language for Network Security.pptx
XML - Extensible Markup Language for Network Security.pptxXML - Extensible Markup Language for Network Security.pptx
XML - Extensible Markup Language for Network Security.pptx
 
xml introduction in web technologies subject
xml introduction in web technologies subjectxml introduction in web technologies subject
xml introduction in web technologies subject
 
chapter 4 web authoring unit 4 xml.pptx
chapter 4 web authoring  unit 4 xml.pptxchapter 4 web authoring  unit 4 xml.pptx
chapter 4 web authoring unit 4 xml.pptx
 
Xml 1
Xml 1Xml 1
Xml 1
 
Ch2 neworder
Ch2 neworderCh2 neworder
Ch2 neworder
 
Unit 2.2
Unit 2.2Unit 2.2
Unit 2.2
 
Xml and DTD's
Xml and DTD'sXml and DTD's
Xml and DTD's
 
Unit 2.2
Unit 2.2Unit 2.2
Unit 2.2
 
XML.pptx
XML.pptxXML.pptx
XML.pptx
 
Xml intro1
Xml intro1Xml intro1
Xml intro1
 
WT UNIT-2 XML.pdf
WT UNIT-2 XML.pdfWT UNIT-2 XML.pdf
WT UNIT-2 XML.pdf
 
paper about xml
paper about xmlpaper about xml
paper about xml
 
XML1.pptx
XML1.pptxXML1.pptx
XML1.pptx
 
XML DTD Validate
XML DTD ValidateXML DTD Validate
XML DTD Validate
 
Unit 5 xml (1)
Unit 5   xml (1)Unit 5   xml (1)
Unit 5 xml (1)
 
XML Presentation-2
XML Presentation-2XML Presentation-2
XML Presentation-2
 
Module 5 XML Notes.pdf
Module 5 XML Notes.pdfModule 5 XML Notes.pdf
Module 5 XML Notes.pdf
 
Sgml and xml
Sgml and xmlSgml and xml
Sgml and xml
 
XML
XMLXML
XML
 

Recently uploaded

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Recently uploaded (20)

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

PHP XML

  • 2. WHA T IS X ML? • XML stands for Extensible Markup Language • XML is a markup language much like HTML •XML is text-based markup language that enables to store data in structure format by using meaningful tags. •XML tags are not predefined. You must define your own tags • XML is designed to be self-descriptive •XML is a W3C (World Wide Web Consortium Recommendation
  • 3. Feature of XML 1.XML Separates Data from HTML if you need to display dynamic data in your HTML document, it will take a lot of work to edit the HTML each time the data changes. With XML, data can be stored in separate XML files. This way you can concentrate on using HTML/CSS for display and layout, and be sure that changes in the underlying data will not require any changes to the HTML. With a few lines of JavaScript code, you can read an external XML file and update the data content of your web page. 2XML Simplifies Data Sharing In the real world, computer systems and atabases contain data in incompatible formats.XML data is stored in plain text format. This provides a software and hardware-independent way of storing data. This makes it much easier to create data that can be shared by different applications.
  • 4. XML DOCUMENT STRUCTURE OR COMPONENENT OF XML DOCUMENT PROLOG SECTION Document Prolog comes at the top of the document, before the root element. This section contains − • XML declaration • Document type declaration XML DECLARATION XML declaration contains details that prepare an XML processor to parse the XML document. It is optional, but when used, it must appear in the first line of the XML document. <?xml version = "version_number" encoding = "encoding_declaration" ?> It defines the XML version (1.0) and the encoding information such as ISO-8859- 1,UTF-8,UTF-16 e.g <?xml version="1.0" encoding="ISO- 8859-1"?>
  • 5. Document Elements Section DOCUMENT ELEMENTS ARE THE BUILDING BLOCKS OF XML. ELEMENTS CAN BEHAVE AS CONTAINERS TO HOLD TEXT, ELEMENTS, ATTRIBUTES ETC <ELEMENT-NAME ATTRIBUTE1 ATTRIBUTE2> ....CONTENT </ELEMENT- NAME> •ELEMENT-NAME IS THE NAME OF THE ELEMENT. THE NAME ITS CASE IN THE START AND END TAGS MUST MATCH. A MA RKUP CONSTRUCT THA T BEGINS WITH <A ND ENDS WITH >. TA GS COME IN THREE WA YS •START-TAGS; FOR EXAMPLE: <SECTION> •END-TAGS; FOR EXAMPLE: </SECTION> •EMPTY-ELEMENT TAGS; FOR EXAMPLE: <SECTION/> •ATTRIBUTE1, ATTRIBUTE2 ARE ATTRIBUTES OF THE ELEMENT SEPARATED BY WHITE SPACES. AN ATTRIBUTE DEFINES A PROPERTY OF THE ELEMENT. IT ASSOCIATES A NAME WITH A VALUE, WHICH IS A STRING OF CHARACTERS. AN ATTRIBUTE IS WRITTEN AS NAME=”VALUE”
  • 6. XML SYNTAX RULES 1 All XML Elements Must Have a Closing Tag In HTML, some elements do not have to have a closing tag: <p>This is a paragraph.In XML, it is illegal to omit the closing tag. All elements must have a closing tag:<p>This is a paragraph.</p> 2.XML Tags are Case Sensitive XML tags are case sensitive. The tag <Letter> is different from the tag <letter>.Opening and closing tags must be written with the same case:<Message>This is incorrect</message> <message>This is c orrect</message> 3.XML Elements Must be Properly Nested In HTML, you might see improperly nested elements:<b><i>This text is bold and italic</b></i> In XML, all elements must be properly nested within each other:<b><i>This text is bold and italic</i></b 4.XML Documents Must Have a Root Element XML documents must contain one element that is the parent of all other elements. This element is called the root element.<root> <child> <subchild>.....</subchild> </child> </root>
  • 7. XML 2 type of reference 1. Entity References: Some characters have a special meaning in XML. If you place a character like "<" inside an XML element, it will generate an error because the parser interprets it as the start of a new element. 2.Character References: A character reference gives the number of the particular Unicode character it stands for, in eit her decimal or hexadecimal. Dec imal character references look like &# hexadecimal character references have an extra x after the &#&#;, that is, they look like &#
  • 8. APPLICATION OF XML 1.Web publishing X ML allows the developers to save the data into X ML files & use X SLT transformation API’S to generate content in the required format such as HTML, XHTML 2. Web Searching It can use XML data & then search the data from the XML file & display it to the user 3. Data Transfer It can use XML to save configuration or business data for our application 4. Created Other languages Many language are created using XML such as WML
  • 9. Email Address sachin.zurange@gmail.com Mobile Number (9822506209/9823037693) Consultation Hours 4 PM to 6 PM QUESTIONS? CLA RIFICA TIONS? Please feel free to contact me, Teacher Sachin Zurange through email or phone.