Workflow for performing client-side XSL transformations
This section provides a list of steps you need to follow to perform client-side XSL transformations, and refers you to the sections in the documentation that elaborate on each procedure.
Macromedia recommends that you read About using XML and XSL with web pages, About server-side XSL transformations, and About client-side XSL transformations before building pages that display XML data.
To perform client-side XSL transformations, follow these steps:
- Set up a Dreamweaver site. See Setting Up a Dreamweaver Site.
- Do one of the following:
- In your Dreamweaver site, create an entire XSLT page. See Creating entire XSLT pages.
- Convert an existing HTML page to an entire XSLT page. See Converting HTML pages to XSLT pages
- If you havent already done so, attach an XML data source to the page. See Attaching XML data sources. The XML file that you attach must reside in the same directory as the XSLT page.
- Bind your XML data to the XSLT page. See Displaying XML data in XSLT pages.
- If appropriate, add a Repeat Region XSLT object to the table or table row that contains the XML data placeholder(s). See Displaying repeating XML elements.
- Attach the XSLT page to the XML page. See Linking XSLT and XML files.
- Post both the XML page and the linked XSLT page to your web server.
- View the XML page in a browser. When you do so, the browser transforms the XML data, formats it with the XSLT page, and displays the styled page in the browser.