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 1676 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

If you??™re displaying XML data from a file on the Web, choose 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.
6. Save the newly created document with an .xsl filename extension, that is, rssfeed.xsl.
Binding XSL data to the page
Once the fragment page is created, you??™re ready to create the HTML structure to hold the data and bind the
data. You can use any standard HTML objects, like tables and

or
tags, to hold your data. The
data itself is displayed in the Bindings panel, as shown in Figure 32-5.
FIGURE 32-5
Once connected to an external XML source like an RSS feed, the Bindings panel displays the available data structure.
Dreamweaver provides the following visual indicators when displaying XML data:
Child elements that occur once within a parent are identified with a double-angle-bracket.
Child elements that occur one or more times are identified with a double-angle-bracket
followed by a plus sign.
Optional child elements are identified with a double-angle-bracket followed by a question
mark.
Attributes of a parent are identified with an at-sign, @.
Optional element
Repeating element Attribute
Single element
993
Integrating with XML and XSLT 32
Bind data to a page by dragging an element from the Bindings panel and dropping it in the desired place or
by positioning your cursor on the page and double-clicking the selected data element in the Bindings panel.


Pages:
1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688