Or, if you have an existing HTML page you want to use to incorporate XML data, you can
convert your HTML page into XSLT format.
1001
Integrating with XML and XSLT 32
To convert an HTML page to an XSLT page, follow these steps:
1. Open the page you want to convert in Dreamweaver.
2. Choose File ??? Convert ??? XSLT 1.0.
Dreamweaver automatically saves the converted file under its original name with a new .xsl extension.
For example, rss_feed.html becomes rss_feed.xsl.
Neither templates nor template-derived pages can be converted to an XSLT document. You??™ll
need to detach the template-derived page from the template before converting.
Attaching XML data to an XSLT page
Attaching XML data to an XSLT page is just as straightforward as converting the page:
1. From the Bindings panel, click the XML link in the displayed step: Please Attach XML Source
Document (see Figure 32-13).
FIGURE 32-13
Attach an XML file to an XSLT page through the Bindings panel.
2. When the Locate XML Source dialog box opens, make sure that the Attach A Local File On My
Computer Or Local Area Network option is selected.
3. Click Browse to open the Select File dialog box and locate the XML file; click OK when you??™ve
found it.
4. Click OK in the Locate XML Source dialog box to confirm your choice.
Pages:
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701