Small Business Resources, Business Advice and Forms from AllBusiness.com

How XML Works

* From  XML For Dummies, 4th Edition
Date: Friday, August 12 2005

Case studies of XML never fail to mention new and exciting possibilities where XML adds value to existing environments — or solves previously intractable problems. That's probably why XML applications

are widely used for everything from displaying chemical formulas to setting up a family tree. So how can you use the power of XML?

Classifying information

One of the more useful functions of XML involves classifying information. To see how this would work, imagine yourself in the business of selling books.

Books can be classified in many ways, but we kind of like the following classification scheme:




  • Title

  • Author

  • Publisher

  • Price

  • Content Type (Fiction, Nonfiction)

  • Format (Paperback, Hardback)

  • ISBN

Using XML, you can create tags to classify this information. The following code shows a possible XML format for one book:

Night Fall
Demille, Nelson
Warner
$26.95
Fiction
Hardback
0446576638

Giving your tags meaningful names that actually reflect the content makes it easier to work with the information.

How to Create a Successful Blog
Betsy Flanagan of Startup Studio interviews venture capitalist David Hornik of August Capital and the creator of VentureBlog.