Rather than link to the
XSLT page from the XML file, you apply a Dreamweaver server behavior in the dynamic page to create a
connection to the XSLT file and its related XML data.
To link to the full XSLT page from the dynamic page, follow these steps:
1. With the dynamic page open, choose Window ??? Server Behaviors.
2. In the Server Behaviors panel, click Add (+) and select XSL Transformation from the list.
You may find the XSL Transformation box familiar; the same functionality is used when you create
an XSLT fragment.
3. In the XSL Transformation dialog box, select the Attach A Local File On My Computer Or Local
Area Network option if you want to incorporate data from a static XML file available on your system;
use the Browse button to open the Select File dialog box or enter the path to the file by hand
in the provided field.
4. If you??™re displaying XML data from a file on the Web, click the Attach A Remote File On The
Internet option and enter the full Internet address in the available field.
5. Click OK when you??™re done.
Before viewing on your Web server, you??™ll need to publish your dynamic and XSLT page to your Web server.
Unlike with the client-side transformation, Dreamweaver will not automatically include the XSLT file as a
dependent file.
Pages:
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707