SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1690 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


Dreamweaver parses the XML file and displays the structure in the Bindings panel.
Binding the XML data
Binding the data in an XSLT page is handled in exactly the same way as with an XSLT fragment. Data is
dragged from the Bindings panel onto the page or double-clicked to be inserted at the cursor position.
Likewise, repeat and conditional regions are applied in the same manner as described in the previous sections,
???Repeating XSL Data,??? ???Filtering XSL Data,??? and ???Showing XSL Data Conditionally.???
Unlike with XSLT fragments, it??™s not necessary to use design time style sheets because the XSL page contains
the HTML??”as well as the link to the CSS external style sheets. Style can be applied to XML data just like
any other page element.
CAUTION CAUTION
1002
Enhancing Productivity and Web Site Management Part VI
Linking from an XML file
All of the work so far has been centered on the XSLT page. Now it??™s time to shift focus to the XML document.
The first action is to link the XSLT page from the XML file. Recall that the browser actually loads the
XML file, which in turn calls the XSLT page to transform the data into HTML.
Client-side XSL transformations only work with local XML files. To use the data from an RSS
feed, you??™ll need to save the data page from your browser and publish it to your own Web
server.


Pages:
1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702