Macromedia dreamweaver 8-using dreamweaver User Manual

Page of 1030
Performing XSL transformations on the server
753
5.
Preview your work in a browser (File > Preview in Browser)
Displaying repeating XML elements
The Repeat Region XSLT object lets you display repeating elements from an XML data source 
in a web page. For example, if you are displaying article titles and descriptions from a news 
feed, and that news feed contains between 10 and 20 articles, each title and description in the 
XML file would probably be a child element of a repeating element.
Any region in Design view containing an XML data placeholder can be turned into a repeated 
region. However, the most common regions are tables, table rows, or a series of table rows.
To learn more about how the Repeat Region XSLT object works with XML data, see 
To display repeating XML elements:
1.
In Design view, select a region that contains an XML data placeholder or placeholders.
The selection can be anything, including a table, a table row, or even a paragraph of text.
2.
Do one of the following
Select Insert > XSLT Objects > Repeat Region.
In the XSLT category of the Insert bar, click the Repeat Region button.
NO
TE
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 
TIP
To select a region on the page precisely, you can use the tag selector in the lower-left 
corner of the Document window. For example, if the region is a table, click inside the 
table on the page, and then click the 
<table>
 tag in the tag selector.