It??™s important to understand how XSLT pages interact with XML files to present the completed HTML page
for the browser. Although XSL stands for Extensible Stylesheet Language, it??™s not an exact parallel to
Cascading Style Sheets. The primary difference is that an XSLT page contains HTML as well as XSLT code,
unlike an external CSS file, which does not incorporate any HTML. Another key point is that both the XML
and XSL files refer to one another, whereas with HTML and CSS, the only connection is the link or import
code in the HTML page. The final concept to grasp is that you??™re actually displaying the XML file, although
it is transformed by the XSLT page. All links from other pages to show the data must be to the XML file.
Here??™s a general overview of the workflow for applying an XSLT page to an XML file:
1. Create an XSLT page.
2. Attach the XML data to the XSLT page.
3. Bind the XML data to the XSLT page.
4. From the XML page, link to the XSLT page.
5. Publish both files to the Web.
6. View the XML page.
Creating XSLT pages
Dreamweaver provides two paths to approach the initial step, creating an XSLT page. You can build a page
from scratch by choosing File ??? New Document and then selecting the Basic page category and choosing
XSLT (Full page).
Pages:
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700