O'Reilly logo

Dreamweaver 8: The Missing Manual by David Sawyer McFarland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating Dynamic Pages with XSLT and XML

The most effective way to use XML in your site is with Dreamweaver's XSLT server behavior. It processes all of those "X" files and produces nothing but clean HTML for your visitors. To take advantage of this feature, you'll need to set up an application server, as described in Chapter 20, so that you can run ASP, PHP, JSP, .NET, or ColdFusion pages with the necessary programming code.

Next, you need to either have an XML file in your site, or know the URL of an XML file out on the Web that you'd like to use—for example, http://www.nationalexasperator.com/news.xml. Then you create an XSLT style sheet—either by creating a new, blank XSLT style sheet or by converting an already created HTML file into a XSL file, as explained starting on Section 24.2.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required