02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoPrevious Video

Overview and Context of XML

<h2>XML Originated from HTML</h2> <p>Originally, in the early days of the Worldwide Web, the invention of HTML (Hypertext Markup language) as a standard was a major step towards information creation, sharing and rendering, by applications that were created to feed on or generate such information. At that time, HTML covered a very wide spectrum, used for specifying content, structure, formatting and rendering of data. Naturally, web developers needed to learn <a href="/html5/101.html">html</a> and had their hands full all the time.</p> <p>Then a new standard for organizing information emerged: the Extensible Markup Language (XML.) The intention was to allow the content of a web page to be organized separately from the other tasks listed above. Other standards have also evolved for these other spheres, and now HTML is mostly used for information structuring. XML deals with content management and organization.</p> <p>This is the history and context of the emergence of XML as a universally accepted standard. XML is not limited to the web alone: almost every modern application including system software, telecommunication applications or web applications uses XML to organize information in some way. Note that organization of data converts it into information. Application developers quickly saw this difference, and adopted XML whole-heartedly. This course will emphasize how XML meets our everyday professional needs.</p> <p>Now, let’s move onto a description of the XML language. The advantages of this language are:</p> <p> • Organizes data to convert it to information (this is true value addition)</p> <p> • It is accessible: being a free published web standard, it is universally accepted</p> <p> • Allows programmers and other professionals who need information, an easy way to structure data</p> <p> • Is used almost universally to organize configuration data for programs and software build systems mainly <a href=" /courses/video/47/396/Elements-and-Attributes-in-PHP.html">elements</a> that should be controllable/accessible without recompiling an application.</p> <p> • Is portable, being an independent standard, therefore can be used across applications and platforms as well – truly “cross-platform!”</p> <p> • Cross-language as well: the languages simply need to have XML parser <a href="/course/indispensable-as3/graphics-api.html">API</a>s that can be invoked by programs on XML documents</p> <p>Most web applications in the modern internet age such as RSS are based on XML. Several standard protocols in areas such as networking protocols, telecommunication protocols, and most open source software and libraries are dependent on XML standards to interface with client programs. This is one main reason why taking this course, a beginner’s guide to one of the most powerful components of the internet, is worth its weight in gold!</p>

Overview and Context of XML

We will learn about the historical perspective and overview of the XML standard. The main focus is on Information organization and cross platform usage

12:47

XML Elements

The first step in learning about how XML documents are structured is to get familiar with elements, the basic components of an XML document.

08:22

XML Nested Elements

Nested elements allow for complex data to be represented effortlessly in an XML document.

09:19

Attributes

Attribute-value pairs are an alternative to nesting of elements in an XML document. We'll see the pros and cons of this feature

08:12

More Then Just Leftovers

Comments, White-space, Special characters, Version Information and Parser by-passing content; we discuss what these constructs are and how to use them effectively

13:54

XML Validation

XML documents should be well formed structure- and content-wise for applications to be configured and behave properly. We discuss an analogy with a real life scenario to highlight the point

08:17

E4X – ActionScript 3.0

We describe the importance and beneficial features of E4X library, and why it should be used in browsers at the earliest

24:56

XML DOM

An XML document is often pictured as an inverted nodes (elements) tree and connected nodes have a relation between them. DOM allows the program to traverse and retrieve these related nodes.

11:12

JavaScript

We describe the basic syntax of Javascript to load XML documents in client-side applications

13:51

Looping XML

We describe the looping constructs of PHP scripting language and how they can be used to parse and render XML information in client software

14:19

XML as a Remote

We describe the utility of XML for the modern web, especially when there's a plethora of programming languages and platforms and how XML builds several bridges

09:19

Loading XML in PHP

We describe how to load XML documents into server side applications in the PHP scripting language

04:57

Elements and Attributes in PHP

We describe how to access elements and attribute values while processing XML content via PHP scripts in server-side software

04:44

foreach

We describe the foreach looping construct in PHP and also how it can be used to process XML documents in server-side software

07:01

PHP XML compare

We describe how to compare XML document components and content in different documents having the same syntax

05:08

Modifying XML

We describe how to modify the content of XML documents in PHP : insertion/deletion/update operations in server-side applications

08:34