Operation Manual
494
USING DREAMWEAVER
Displaying XML data with XSLT
Last updated 3/28/2012
3. Attach an XML data source to the page (if you haven’t already done so).
The XML file that you attach must reside in the same directory as the XSLT page.
4. Bind your XML data to the XSLT page.
5. Display XML data by binding the data to the entire XSLT page.
6. If appropriate, add a Repeating Region XSLT object to the table or table row that contains the XML data
placeholder(s).
7. Attach the XSLT page to the XML page.
8. Post both the XML page and the linked XSLT page to your web server.
9. 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.
More Help topics
“Working with Dreamweaver sites” on page 34
“Choosing an application server” on page 506
“Link an XSLT page to an XML page” on page 495
“Using XML and XSL with web pages” on page 470
“Client-side XSL transformations” on page 472
“Server-side XSL transformations” on page 471
Creating entire XSLT pages and displaying data
You must use an entire XSLT page for client-side transformations. (XSLT fragments don’t work for this type of
transformation.) Follow these general steps for creating, binding XML data to, and formatting XSLT pages for client-
side transformations:
1. Create the XSLT page.
2. Display data in the XSLT page.
3. Display repeating elements in the XSLT page.
More Help topics
“Create an XSLT page” on page 478
“Display XML data in XSLT pages” on page 480
“Display repeating XML elements” on page 481