Quick Start Guide
194 Tutorial: Displaying XML Data
Learn about other deployment
options
In this tutorial, you learned how to create an entire XSLT page to use as
part of a client-side transformation. But you can also use entire XSLT pages
for server-side transformations. When you use an entire XSLT page for a
server-side transformation, you build the page in exactly the same way.
The more common approach to performing server-side transformations,
however, is to use XSLT fragments. An XSLT fragment is a piece of code,
used by a separate document, that displays formatted XML data.
For a brief overview of entire XSLT pages and XSLT fragments, see “Learn
about XSLT pages” on page 178. For a more comprehensive overview of
how entire XSLT pages and XSLT fragments work, see “About server-side
XSL transformations” in Using Dreamweaver (Help > Using
Dreamweaver).
For tutorials and other resources that teach you about working with XSLT
fragments, visit www.macromedia.com/go/dw_xsl.
Following is the workflow for performing server-side transformations with
XSLT pages:
■ Set up a Dreamweaver site. See Chapter 2, “Setting Up a Dreamweaver
Site” in Using Dreamweaver.
■ Choose a server technology and set up an application server. See
“Setting up an application server” in Using Dreamweaver.
■ Test the application server to make sure it is functioning correctly. For
example, create a page that requires processing, and make sure that the
application server processes the page. For a tutorial on how to do this,
visit www.macromedia.com/go/dw_xsl.
■ Do one of the following:
■ In your Dreamweaver site, create an XSLT fragment or an entire
XSLT page. See “Creating XSLT pages” in Using Dreamweaver.
■ Convert an existing HTML page to an entire XSLT page. See
“Converting HTML pages to XSLT pages” in Using Dreamweaver.
■ If you haven’t already done so, attach an XML data source to the page.
See “Attaching XML data sources” in Using Dreamweaver.
■ Bind your XML data to the XSLT fragment or to the entire XSLT page.
See “Displaying XML data in XSLT pages” in Using Dreamweaver.