Once youve created an XSLT page and attached an XML data source, you can bind data to the page.
NOTE |
|
In most cases, you will want to use the Repeat Region XSLT object to display repeating XML elements on a page. If this is the case, you might want to create a single-row table with one or more columns, or a two-rowed table if you want to include a table header. For more information, see Displaying repeating XML elements. |
An XML data placeholder appears on the page. The placeholder is highlighted and in curly brackets. It uses the XPath (XML Path language) syntax to describe the hierarchical structure of the XML schema. For example, if you drag the child element "title" to the page, and that element has the parent elements "rss," "channel," and "item," then the syntax for the dynamic content placeholder will be {rss/channel/item/title}.
Once an XML data placeholder is on the page, you can double-click it to open the XPath Expression Builder. The XPath Expression builder lets you format selected data, or select other items from the XML schema. For more information, click the Help button in the XPath Expression builder.
NOTE |
|
When you preview your work using Preview in Browser, Dreamweaver performs an internal XSL transformation without the use of an application server. For more information, see About previewing XML data. |