8 and higher
n Firefox 1.0.2 and higher
n Opera 8 and higher
n Safari 1.3 and higher
CAUTION CAUTION
TIP TIP
1003
Integrating with XML and XSLT 32
1004
Enhancing Productivity and Web Site Management Part VI
In this Technique, you convert an existing HTML page to XSLT format and then integrate data from an XML
file into it.
1. From the Techniques site, expand the 31_XML folder and open the xml_start.htm file.
2. Choose File ??? Convert ??? XSLT 1.0.
Dreamweaver converts the file and saves it as xml_start.xsl.
3. From the Bindings panel, select the XML link in step 1.
4. When the Locate XML Source dialog box appears, click Browse.
5. In the Locate Source XML for XSL Template dialog box, locate the properties.xml file in the
31_XML folder and click OK; click OK again to confirm your choice in the Locate Source XML
dialog box.
The Bindings panel is populated with the XML data schema.
6. From the Bindings panel, drag proptype to the cell under the Type label, desc under Description,
bed under Bedrooms, and bath under Bathrooms.
The next step is to apply a repeat region so that all the XML data will be displayed.
7. Select the proptype XML data placed on the page.
8. From the Tag Selector, choose the
tag.
9. Choose Insert ??? XSLT Objects ??? Repeat Region.
Pages:
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704