beautypg.com

Display repeating xml elements – Adobe Dreamweaver CS3 User Manual

Page 439

background image

DREAMWEAVER CS3

User Guide

432

See also

“Previewing XML data” on page 426

“Presenting content with tables” on page 176

Display repeating XML elements

The Repeating 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 changed to a repeated region. However, the
most common regions are tables, table rows, or a series of table rows.

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.

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 tag in the tag selector.

2

Do one of the following

Select Insert > XSLT Objects > Repeating Region.

In the XSLT category of the Insert bar, click the Repeating Region button.

September 4, 2007