SlideShare a Scribd company logo
XML & Scripting
BY:SURBHI SAROHA
XML
 XML stands for eXtensible Markup Language
 XML is a markup language much like HTML
 XML was designed to store and transport data
 XML was designed to be self-descriptive
 XML is a W3C Recommendation
The Difference Between XML and HTML
 XML and HTML were designed with different goals:
 XML was designed to carry data - with focus on what data is.
 HTML was designed to display data - with focus on how data looks.
 XML tags are not predefined like HTML tags are.
XML Does Not Use Predefined Tags
 The XML language has no predefined tags.
 The tags in the example above (like <to> and <from>) are not defined in any
XML standard. These tags are "invented" by the author of the XML document.
 HTML works with predefined tags like <p>, <h1>, <table>, etc.
 With XML, the author must define both the tags and the document structure.
PROGRAM
 <?xml version="1.0" encoding="UTF-8"?>
<bookstore>
<book category="cooking">
<title lang="en">Everyday Italian</title>
<author>Giada De Laurentiis</author>
<year>2005</year>
<price>30.00</price>
</book>
<book category="children">
<title lang="en">Harry Potter</title>
<author>J K. Rowling</author>
<year>2005</year>
<price>29.99</price>
</book>
CONT…..
 <book category="web">
<title lang="en">XQuery Kick Start</title>
<author>James McGovern</author>
<author>Per Bothner</author>
<author>Kurt Cagle</author>
<author>James Linn</author>
<author>Vaidyanathan Nagarajan</author>
<year>2003</year>
<price>49.99</price>
</book>
<book category="web" cover="paperback">
<title lang="en">Learning XML</title>
<author>Erik T. Ray</author>
<year>2003</year>
<price>39.95</price>
</book>
</bookstore>
Scripting
 All scripting languages are programming languages.
 The scripting language is basically a language where instructions are written
for a run time environment.
 They do not require the compilation step and are rather interpreted.
 It brings new functions to applications and glue complex system together.
 A scripting language is a programming language designed for integrating and
communicating with other programming languages.
There are many scripting languages
some of them are discussed below:
 bash: It is a scripting language to work in the Linux interface. It is a lot easier
to use bash to create scripts than other programming languages. It describes
the tools to use and code in the command line and create useful reusable
scripts and conserve documentation for other people to work with.
 Node js: It is a framework to write network applications using JavaScript.
Corporate users of Node.js include IBM, LinkedIn, Microsoft, Netflix, PayPal,
Yahoo for real-time web applications.
 Ruby: There are a lot of reasons to learn Ruby programming language. Ruby’s
flexibility has allowed developers to create innovative software. It is a
scripting language which is great for web development.
CONT…..
 Python: It is easy, free and open source. It supports procedure-oriented
programming and object-oriented programming. Python is an interpreted
language with dynamic semantics and huge lines of code are scripted and is
currently the most hyped language among developers.
 Perl: A scripting language with innovative features to make it different and
popular. Found on all windows and Linux servers. It helps in text manipulation
tasks. High traffic websites that use Perl extensively include priceline.com,
IMDB.
Advantages of scripting languages:
 Easy learning: The user can learn to code in scripting languages quickly, not
much knowledge of web technology is required.
 Fast editing: It is highly efficient with the limited number of data structures
and variables to use.
 Interactivity: It helps in adding visualization interfaces and combinations in
web pages. Modern web pages demand the use of scripting languages. To
create enhanced web pages, fascinated visual description which includes
background and foreground colors and so on.
 Functionality: There are different libraries which are part of different
scripting languages. They help in creating new applications in web browsers
and are different from normal programming languages.
THANK YOU

More Related Content

PPTX
What is html
PPTX
1 introductin to HTML
PPTX
What is html and how it uses/
PPTX
What is html
PPT
Tech talk webtech
PDF
web Based Application Devlopment using PHP
PPTX
PDF
Language Workbenches
What is html
1 introductin to HTML
What is html and how it uses/
What is html
Tech talk webtech
web Based Application Devlopment using PHP
Language Workbenches

What's hot (20)

PPTX
Html & dhtml ppt
PDF
Zoo of domain-specific languages
PPT
DSL explained _
PPTX
Powershell And B O O For Testers
PDF
Implementing DSLs in practice
PPTX
Demystifying software development
PPT
Tech talk php_cms
PPTX
Lesson4.9 a u4l2 html
PPTX
Dynamic language
PPTX
PDF
Web Design & Development - Session 7
DOCX
Assignment 11 Unit1 Web authoring
PDF
Html Tutor
PDF
The Ring programming language version 1.2 book - Part 4 of 84
PPTX
Web Design & Development Courses in Pune |Web Development Classes in Pune | ...
PPTX
C# language
PPTX
Overview of microsoft dot net platforms
PPTX
Programming languages
PPTX
Asp.net and .Net Framework ppt presentation
PPTX
Html tag
Html & dhtml ppt
Zoo of domain-specific languages
DSL explained _
Powershell And B O O For Testers
Implementing DSLs in practice
Demystifying software development
Tech talk php_cms
Lesson4.9 a u4l2 html
Dynamic language
Web Design & Development - Session 7
Assignment 11 Unit1 Web authoring
Html Tutor
The Ring programming language version 1.2 book - Part 4 of 84
Web Design & Development Courses in Pune |Web Development Classes in Pune | ...
C# language
Overview of microsoft dot net platforms
Programming languages
Asp.net and .Net Framework ppt presentation
Html tag
Ad

Similar to Xml & scripting (20)

PPTX
Programming language
PDF
Class 17-18 Introduction to Perl.pdf bbbbbb
PPTX
sl slides-unit-1.pptx
PDF
12 best programming languages for web &amp; app development
PDF
The Ring programming language version 1.8 book - Part 6 of 202
PDF
The Ring programming language version 1.4 book - Part 2 of 30
PDF
Procedural Programming Of Programming Languages
PPTX
Computer Programming Computer Programming Computer Programming
PDF
Is Python a Programming language or Scripting Language_.pdf
PPTX
Full Stack Web Development
PPTX
3. WEB TECHNOLOGIES.pptx B.Pharm sem 2 CAP
PDF
Is Python a Programming language or Scripting Language.pdf
PDF
The Ring programming language version 1.3 book - Part 4 of 88
PDF
The Ring programming language version 1.4.1 book - Part 2 of 31
PPSX
HTML & JAVA Script
PPTX
Download Microsoft Activation Scripts 3.0 Free Full Activated
PPTX
Download Microsoft Activation Scripts 3.0 Free Full Activated
PPTX
Topaz Photo AI 2.4.2 Crack + Keygen Free Full Download
PPTX
Microsoft Office Crack Download Free Version 2025
Programming language
Class 17-18 Introduction to Perl.pdf bbbbbb
sl slides-unit-1.pptx
12 best programming languages for web &amp; app development
The Ring programming language version 1.8 book - Part 6 of 202
The Ring programming language version 1.4 book - Part 2 of 30
Procedural Programming Of Programming Languages
Computer Programming Computer Programming Computer Programming
Is Python a Programming language or Scripting Language_.pdf
Full Stack Web Development
3. WEB TECHNOLOGIES.pptx B.Pharm sem 2 CAP
Is Python a Programming language or Scripting Language.pdf
The Ring programming language version 1.3 book - Part 4 of 88
The Ring programming language version 1.4.1 book - Part 2 of 31
HTML & JAVA Script
Download Microsoft Activation Scripts 3.0 Free Full Activated
Download Microsoft Activation Scripts 3.0 Free Full Activated
Topaz Photo AI 2.4.2 Crack + Keygen Free Full Download
Microsoft Office Crack Download Free Version 2025
Ad

More from Dr. SURBHI SAROHA (20)

PPTX
Deep learning(UNIT 3) BY Ms SURBHI SAROHA
PPTX
MOBILE COMPUTING UNIT 2 by surbhi saroha
PPTX
Mobile Computing UNIT 1 by surbhi saroha
PPTX
DEEP LEARNING (UNIT 2 ) by surbhi saroha
PPTX
Introduction to Deep Leaning(UNIT 1).pptx
PPTX
Cloud Computing (Infrastructure as a Service)UNIT 2
PPTX
Management Information System(Unit 2).pptx
PPTX
Searching in Data Structure(Linear search and Binary search)
PPTX
Management Information System(UNIT 1).pptx
PPTX
Introduction to Cloud Computing(UNIT 1).pptx
PPTX
JAVA (UNIT 5)
PPTX
DBMS (UNIT 5)
PPTX
DBMS UNIT 4
PPTX
JAVA(UNIT 4)
PPTX
OOPs & C++(UNIT 5)
PPTX
OOPS & C++(UNIT 4)
PPTX
DBMS UNIT 3
PPTX
JAVA (UNIT 3)
PPTX
Keys in dbms(UNIT 2)
PPTX
DBMS (UNIT 2)
Deep learning(UNIT 3) BY Ms SURBHI SAROHA
MOBILE COMPUTING UNIT 2 by surbhi saroha
Mobile Computing UNIT 1 by surbhi saroha
DEEP LEARNING (UNIT 2 ) by surbhi saroha
Introduction to Deep Leaning(UNIT 1).pptx
Cloud Computing (Infrastructure as a Service)UNIT 2
Management Information System(Unit 2).pptx
Searching in Data Structure(Linear search and Binary search)
Management Information System(UNIT 1).pptx
Introduction to Cloud Computing(UNIT 1).pptx
JAVA (UNIT 5)
DBMS (UNIT 5)
DBMS UNIT 4
JAVA(UNIT 4)
OOPs & C++(UNIT 5)
OOPS & C++(UNIT 4)
DBMS UNIT 3
JAVA (UNIT 3)
Keys in dbms(UNIT 2)
DBMS (UNIT 2)

Recently uploaded (20)

PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Complications of Minimal Access Surgery at WLH
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Cell Structure & Organelles in detailed.
PDF
Insiders guide to clinical Medicine.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Institutional Correction lecture only . . .
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Complications of Minimal Access Surgery at WLH
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Cell Structure & Organelles in detailed.
Insiders guide to clinical Medicine.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
TR - Agricultural Crops Production NC III.pdf
GDM (1) (1).pptx small presentation for students
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Pharma ospi slides which help in ospi learning
Microbial diseases, their pathogenesis and prophylaxis
2.FourierTransform-ShortQuestionswithAnswers.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Institutional Correction lecture only . . .
Module 4: Burden of Disease Tutorial Slides S2 2025
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
VCE English Exam - Section C Student Revision Booklet

Xml & scripting

  • 2. XML  XML stands for eXtensible Markup Language  XML is a markup language much like HTML  XML was designed to store and transport data  XML was designed to be self-descriptive  XML is a W3C Recommendation
  • 3. The Difference Between XML and HTML  XML and HTML were designed with different goals:  XML was designed to carry data - with focus on what data is.  HTML was designed to display data - with focus on how data looks.  XML tags are not predefined like HTML tags are.
  • 4. XML Does Not Use Predefined Tags  The XML language has no predefined tags.  The tags in the example above (like <to> and <from>) are not defined in any XML standard. These tags are "invented" by the author of the XML document.  HTML works with predefined tags like <p>, <h1>, <table>, etc.  With XML, the author must define both the tags and the document structure.
  • 5. PROGRAM  <?xml version="1.0" encoding="UTF-8"?> <bookstore> <book category="cooking"> <title lang="en">Everyday Italian</title> <author>Giada De Laurentiis</author> <year>2005</year> <price>30.00</price> </book> <book category="children"> <title lang="en">Harry Potter</title> <author>J K. Rowling</author> <year>2005</year> <price>29.99</price> </book>
  • 6. CONT…..  <book category="web"> <title lang="en">XQuery Kick Start</title> <author>James McGovern</author> <author>Per Bothner</author> <author>Kurt Cagle</author> <author>James Linn</author> <author>Vaidyanathan Nagarajan</author> <year>2003</year> <price>49.99</price> </book> <book category="web" cover="paperback"> <title lang="en">Learning XML</title> <author>Erik T. Ray</author> <year>2003</year> <price>39.95</price> </book> </bookstore>
  • 7. Scripting  All scripting languages are programming languages.  The scripting language is basically a language where instructions are written for a run time environment.  They do not require the compilation step and are rather interpreted.  It brings new functions to applications and glue complex system together.  A scripting language is a programming language designed for integrating and communicating with other programming languages.
  • 8. There are many scripting languages some of them are discussed below:  bash: It is a scripting language to work in the Linux interface. It is a lot easier to use bash to create scripts than other programming languages. It describes the tools to use and code in the command line and create useful reusable scripts and conserve documentation for other people to work with.  Node js: It is a framework to write network applications using JavaScript. Corporate users of Node.js include IBM, LinkedIn, Microsoft, Netflix, PayPal, Yahoo for real-time web applications.  Ruby: There are a lot of reasons to learn Ruby programming language. Ruby’s flexibility has allowed developers to create innovative software. It is a scripting language which is great for web development.
  • 9. CONT…..  Python: It is easy, free and open source. It supports procedure-oriented programming and object-oriented programming. Python is an interpreted language with dynamic semantics and huge lines of code are scripted and is currently the most hyped language among developers.  Perl: A scripting language with innovative features to make it different and popular. Found on all windows and Linux servers. It helps in text manipulation tasks. High traffic websites that use Perl extensively include priceline.com, IMDB.
  • 10. Advantages of scripting languages:  Easy learning: The user can learn to code in scripting languages quickly, not much knowledge of web technology is required.  Fast editing: It is highly efficient with the limited number of data structures and variables to use.  Interactivity: It helps in adding visualization interfaces and combinations in web pages. Modern web pages demand the use of scripting languages. To create enhanced web pages, fascinated visual description which includes background and foreground colors and so on.  Functionality: There are different libraries which are part of different scripting languages. They help in creating new applications in web browsers and are different from normal programming languages.