Envision Group Consulting

We develop custom e-learning, mobile, video, live training, writing, and performance solutions for the medical, healthcare, pharma, IT, and financial services industries.

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • Who We Are
  • Contact Us
  • Envision Group Web Site

Tag Archives: tags

XML Part I: Markup Language

Posted on April 16, 2014 by Jeanne Follman

This is next in a series of related posts on Fun Tech Stuff going under the hood with XML and its uses in learning technologies: Learning Management Systems, SCORM, Tin Can, Metadata, and XML, as well as examples of XML in SCORM and XML in eBooks.

XML is the workhorse of metadata and the semantic Web, the means by which we describe the meaning and context of information on the Web. XML stands for eXtensible Markup Language. It pops up all over the place, specifying contents and navigation in elearning, in ebooks, and on the Web.

XML is a markup language much like HTML (HyperText Markup Language), the language we use to display the words, pictures, sounds, and video that make up the Web.

Markup Languages

What is a markup language? It is a system of rules and hidden tags (i.e., labels) that let us define how data can be stored, displayed, or processed. It is quite powerful but quite simple in structure. It’s based on plain text and designed to be readable by both humans and machines.

Here’s a simple example of HTML markup.

Let’s say you want your Web page to display a heading and a few short paragraphs. You want it to say this:

html example

So you would mark it up as follows, using angle brackets (< >) and tags to tell the browser how you’d like the text displayed:

<H1>Hopeless Optimist</H1>

<p>Being a hopeless optimist, I think the Chicago White Sox are going to win the World Series this year! People may laugh, but I have hope. </p>

<p>That is the meaning of being an optimist. </p>

As you can see, this is not rocket science! The <H1> tag indicates where the heading should start, and the </H1> indicates where the heading should end. Likewise, the <p> and </p> tags indicate where the paragraphs should start and end.

The basic scheme is as follows:

< tag>
…
< / end tag>

Of course there are lots of tags, and lots of complexity in how those tags can be used and nested, but the underlying scheme is straightforward.

HTML and XML

HTML and XML are similar in nature, both being markup languages, but they have a couple of key differences.

First, HTML is designed to tell Web browsers how to display data; it’s all about marking up text and other assets like images, sound, and video, so the browser knows how to format it: make it a heading, make it bold, put it in a table, turn it into bullet points, make it so tall or so wide, break a paragraph, skip a line. Second, the tags you use to mark up your words and pictures are all predefined; you have to use the right tags if you want to get the right result. If you said:

<Heading1>Hopeless Optimist</Heading1>

instead of:

<H1>Hopeless Optimist</H1>

the browser wouldn’t know what you were talking about, and would not display your heading correctly. HTML is an open standard. And while it is constantly evolving, it is well known to both Web developers and browser developers, so generally what we code is rendered properly.

XML, on the other hand, is not designed to display data, it’s designed to provide meaning and context for data, so the markup is used to do that.

Meaning and Context

In our previous Metadata post, we gave an example of a person using a Web site that contains a monument’s latitude and longitude so that person can locate the monument while walking through a park. The latitude and longitude would be defined in the Web site with XML tags that might look something like this:

<geo:Point>
<geo:lat>41.882406</geo:lat>
<geo:long> -87.62382 </geo:long>
</geo:Point>

XML provides meaning and context for data, and provides it using plain text, so it can be easily written and read by any application (as well as by people).

Not Predefined

Also, XML tags are not predefined; you or an outside organization can define the meaning of the tag and link to its definition. The meaning and context of the data is conveyed both by the tag itself and by the linked definition of the tag, called an XML Name Space (xmlns).

< … xmlns:geo=”http://www.w3.org/ …>

Tags define the data, and name spaces define the tags:

xml tags and name space

Of course the point is not to learn how to code XML, but to understand its power, and how it is used under the hood in Web sites, in e-learning delivery (e.g., SCORM), and in ebooks, all of which are key to the future of learning.

In the next two posts, we’ll look at a couple of examples of how XML is used, first in SCORM, and then in an ebook, to create the metadata that describe the meaning and context of that information.

 

Share this:

  • Facebook
  • Twitter
  • LinkedIn
  • Google +1
  • Email
Posted in Fun Tech Stuff | Tagged HTML, Metadata, tags, XML, XML name space

We believe that if you give the right people the right knowledge and resources, they can achieve incredible results.

Categories

  • About e-Learning
  • About Technical Writing
  • About Training
  • About Video Production
  • About Webinars
  • Fun Tech Stuff
  • Tools We Like
  • Videos We Like

Tags

Alpha Channels Articulate Compressing Video Dublin Core e-learning ebook elearning EPUB Flash FLV Files happiness HTML instructor led interviews leadership learner control learner engagement learner motivation lighting LMS manifest Metadata presentations presentation tools project management rule of thirds SCORM Semantic Web Sotryline success tags technical writing Tim Berners-Lee Tin Can training for software applications training price drivers training video video Video Compression video production virtual classrooms webinars World Wide Web XML XML name space

Recent Posts

  • Using Video to Record Train-The-Trainer Deliveries
  • How to Enhance your Training with Large-Scale Videos
  • How to Enhance your Training with Mid-Range Videos
  • How to Enhance your Training with Quick and Easy Videos
  • Making The Most of Your Location: A Guide to Lowering Production Costs, Part II – Changing the Scene with the Click of a Mouse

Archives

  • September 2017
  • August 2017
  • August 2016
  • July 2016
  • August 2015
  • July 2015
  • February 2015
  • January 2015
  • September 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • December 2013
  • November 2013
  • September 2013
  • August 2013
Envision Group Consulting is a Chicago-based training group that specializes in developing custom e-learning, live training, video, facilitation, writing, and performance solutions for the medical, healthcare, pharma, IT, and financial services industries.
Proudly powered by WordPress
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.