Chapter 32

Integrating XML and XSLT

In This Chapter

  • Exploring the basics of XML
  • Exporting XML from templates
  • Importing XML into Dreamweaver
  • Building XML files
  • Styling with XSL
  • Incorporating XSLT fragments
  • Creating client-side XSLT pages
  • Dreamweaver Technique: Adding Data to an XSL Page
  • Making XSLT server-side pages

XML, short for Extensible Markup Language, has quickly become a powerful force on the web and an important technology for web designers to master. XML enables designers to define the parts of any document—from web page to invoice—in terms of how those parts are used. When a document is defined by its structure, rather than its appearance, as it is with HTML, the same document can be read by a wide variety of systems and put to use far more efficiently.

Dreamweaver includes Roundtrip XML as a complement to its Roundtrip HTML core philosophy. Roundtrip HTML ensures that the defined tags of HTML remain just as you’ve written them. With XML, no fixed set of defined tags exists—XML tags can be written for an industry, a company, or just a website. Roundtrip XML permits web designers to export and import XML pages based on their own structures.

You can find XML all throughout Dreamweaver, just under the hood. The Design Notes feature is based on XML, as is the completely customizable menu system. The Third-party Tags file is pure XML and can describe any kind of tag. In fact, you can use XML to describe most anything, even HTML. This chapter explores the basics of XML, ...

Get Dreamweaver CS6 Bible now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.