SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1070 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


To learn more about the structure of XML, see Chapter 32, ???Integrating with XML and XSLT.???
To establish a Spry XML data set, follow these steps:
1. From the Spry or Data category of the Insert bar, choose Spry XML Data Set. Alternatively, you
can choose Insert ??? Spry ??? Spry XML Data Set. Another option is available from the Bindings
panel where you can choose Add (+) and select Spry XML Data Set from the list. The Spry XML
Data Set dialog box opens.
CROSS-REF CROSS-REF
TIPTIP
597
Powering Ajax Pages with Spry 18
2. Enter a name for your data set in the Data Set Name field or keep the default suggestion.
3. Click Browse to locate your XML data file. Either a local XML file in the site or an online file with
an absolute URL can be used. However, the XML file must be located within the same domain as
the current page for security reasons.
4. When the Select XML Data dialog box opens, navigate to your XML file and click OK. If you??™re
working with a Web application that creates your XML file dynamically, choose Design Time Feed
to select an example XML file to use in page development.
5. Click Get Schema to read the structure of the selected XML file and displays the results in the
Row Element area, shown in Figure 18-3.
FIGURE 18-3
Review the XML data??™s schema to select the proper node for your Spry data set.


Pages:
1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082