
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 <product>, with several subordinate fields, such as <name>, <category>, and <descheader>.
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 <product>
repeating node, the XPath text box displays “
products/product” to indicate that the data found in the repeating
<product> node within the <products> 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 Sometimesit’shelpfultodefineafieldasaspecifictype,suchasnumeric,toallowvalidationofthedatainputor
todefineaspecificsortorder.Ifyouwanttochangethedatatypeforanyelement,selecttheelementintheDataSet
Columns panel and choose another value from the Data Type menu.
Commenti su questo manuale