advertisement
Premier Club Log In/Registration
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   SKILLBUILDING  |   TIP BANK  |   SOURCEBANK  |   FORUMS  |   NEWSLETTERS
Browse DevX
Partners & Affiliates
advertisement
advertisement
Average Rating: 4.3/5 | Rate this item | 6 users have rated this item.
 Print Print
 
XML QuickStart
Learn what XML is all about, and what you can do with it. 
advertisement

f you've been reading any of the headlines you'd think that XML is the greatest invention since auto-start coffee makers. It's being touted as the wave of the future and the greatest, newest invention.

But with auto-start coffee makers, you wake up and pour your coffee. The benefits are clear and obvious.

With XML, the immediate benefits aren't quite so clear. By itself XML doesn't do anything except idenfity pieces of your document—but what makes it exciting is how having "smart" documents can help you work smarter too.

In this QuickStart you'll learn what XML is all about, and what you can do with it.

What Is XML?
XML is a way of adding intelligence to your documents. It lets you identify each element using meaningful tags and it lets you add information ("metatdata") about each element.

XML is very much a part of the future of Web, and part of the future for all electronic information.

Here's the formal definition from the World Wide Web Consortium (W3C):

"The extensible markup language (XML) is a subset of SGML.... It's goal is to enable generic SGML to be served, received and processed on the Web in the way that is now possible with HTML. XML has been designed for ease of implementation and for interoperability with both SGML and HTML."

In other words:

XML—eXtensible Markup Language—is a way to put structure and metadata into your Web page, and make your information smarter and more powerful.

XML is a syntax for marking up data and it works with many other technologies to display and process information. It looks and feels very much like HTML.

XML isn't going to replace everything else you've already learned; it complements it and extends it.

XML isn't going to change the way your Web pages look. You'll still need to use CSS—Cascading Style Sheets—(with XML) to define font colors or JavaScript (again, with XML) to make your images fly around. Yet XML will change the way you and others read documents and it will change the way documents are filed and stored. It's a new technology and you certainly don't need to use it in order to build a great Web site—but you will want to be aware of it as you look at the Web of the future.

What's the Fuss About?
XML lets you make documents smarter, more portable, and more powerful—that's the promise of XML and that's what all the fuss is about.

XML allows you to use your own tags to define parts of a document. You can do this because XML is a descriptive, not a procedural, language. That is, XML describes what something is rather than performing an action.

For example, take a look at the front page of a newspaper. You'll see different font sizes, different sections, and columns.

If you were to create a Web page for that newspaper—using the same formatting and styles—:you would use tags such as <H1> and <font color="red"> to define the size and color of a large headline, or <i> to italicize a word such as a byline, in order to distinguish it from the rest of the text.

But just try to write tags that actually explain that you've got a Headline and that the words "John Smith" make up a byline. HTML won't know what you're talking about if you create tags such as <Headline> or <byline> or <advertisement>.

XML, with help from other technologies such as CSS, understands what the elements are and how to display them.

That means, in the future, when you're searching on the Web for say, a Barbie doll for your niece's birthday, you'll get Barbie the DOLL instead of some other type of Barbie, because the Barbie doll page might be marked up like this:

<DOLL>Barbie</DOLL>.

Pretty cool, huh?

XML documents can be moved to any format on any platform—without the elements losing their meaning. That means you can publish the same information to a Web browser, a PDA, or a network-enabled bread machine and each device would use the information appropriately.

The most important thing to remember about XML, though, it that is doesn't stand alone. It needs other technologoies, like CSS, in for you to see its results.

If all of this seems like a pain, and you don't want to mess with XML, it's OK. You don't need it to make a great Web page. But you never know when organization will come in handy.



Page 1 of 4
advertisement
  Next Page: Where did XML come from? What does it look like?
Page 1: IntroductionPage 3: XML vs. Html and Well-Formed XML
Page 2: Where did XML come from? What does it look like?Page 4: Learn More
advertisement
Advertising Info  |   Member Services  |   Permissions  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About


JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: HyperV-The Killer Feature in WinServer ‘08
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Win Server ‘08
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES