Adobe Dreamweaver CS3 Manuale Utente Pagina 488

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 487
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 Sometimesitshelpfultodefineafieldasaspecifictype,suchasnumeric,toallowvalidationofthedatainputor
todefineaspecificsortorder.Ifyouwanttochangethedatatypeforanyelement,selecttheelementintheDataSet
Columns panel and choose another value from the Data Type menu.
September 4, 2007
Vedere la pagina 487
1 2 ... 483 484 485 486 487 488 489 490 491 492 493 ... 737 738

Commenti su questo manuale

Nessun commento