Chapter 27. Server-Side XML and XSLT

XML is everywhere. You find it in countless files on your computer, for everything from tracking information in your iTunes music library to providing the structure and options for Dreamweaver’s menus. Webmasters use XML to broadcast news feeds and provide product, pricing, and availability information from sites like Amazon.com and eBay by using a technology known as web services. As you learned in Chapter 13, Dreamweaver lets you use XML, too, and probably the best use of Dreamweaver’s XML tool is to add news, blog posts, and other information broadcast from other websites to your own.

So what exactly is XML? XML, or Extensible Markup Language, is a tag-based language somewhat like HTML. You tag the various parts of a document—headlines, text, names, dates, and so on—in a clear, easy-to-understand way that different computers, operating systems, and programs can understand. Using this common data language, they can quickly and easily exchange information.

As you learned in Chapter 13, Dreamweaver’s Spry XML Data Set tools let you work with XML on the “client side” of things—that is, where the processing takes place on your or your visitor’s computer. Here’s how Dreamweaver’s Spry Data Set works: When someone visits your XML-powered site, his browser downloads a page embedded with some Spry JavaScript programming and an XML file. Thanks to some fancy JavaScript magic, your visitor can interact with that XML data, giving him a richer browsing experience. ...

Get Dreamweaver CS5: The Missing Manual now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.