beautypg.com

Adobe Dreamweaver CS3 User Manual

Page 488

background image

DREAMWEAVER CS3

User Guide

481

6

In the Row Elements panel, select the element that contains the data you want to display. Typically this is a

repeating node, such as , with several subordinate fields, such as , , and .

7

The XPath text box displays an expression that shows where the chosen node is located in the XML source file.

For example, if you use a data set with a schema like the one in the graphic above and then select the
repeating node, the XPath text box displays “

products/product

” to indicate that the data found in the repeating

node within the data set should be displayed.

Note: XPath (XML Path Language) is a syntax for addressing portions of an XML document. It is used mostly as a query
language for XML data, just as the SQL language is used to query databases. For more information on XPath, see the
XPath language specification on the W3C website at www.w3.org/TR/xpath

8

To see how your data will look in a browser, click the Preview button. This displays the first twenty rows of your

XML data file, with a column for each element.

9

Sometimes it’s helpful to define a field as a specific type, such as numeric, to allow validation of the data input or

to define a specific sort order. If you want to change the data type for any element, select the element in the Data Set
Columns panel and choose another value from the Data Type menu.

September 4, 2007