Connect to XML data
2. Specify Spry regions
3. Bind data
4. Connect master/detail regions
5. Add repeating areas
Let??™s work our way through the process one step at a time, starting with making a connection to your
XML data.
You??™ll be happy to know that once you??™ve established a connection to an XML data source, all
of the following steps can be handled in one step. You??™ll learn how in the ???Working with Spry
Tables??? section later in this chapter.
Connecting to XML data
Dreamweaver refers to every connection to an XML file as a data set. Each data set connects to a specific tag
or node within a single XML file. You??™ll recall that an XML file is structured to allow repeated data, like this:
House
123 Main Street
Anytown
NY
10003
Apartment
456 Downtown Avenue
Key City
CA
90023
In this example code, the
tag is the node that repeats; the XML data file could contain as
many nodes as needed. Once the data set has been established and the node identified, you
can include any of the subordinate nodes (in this example, , , , ,
and ) as data in your page.
Pages:
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081