To see how to bind HTML elements to an XML data island, I'll write an example. In this case, I'll add a data island for ch08_03.xml with the ID of customers to a new Web page, like this:
<HTML> <HEAD> <TITLE> Single Record Binding Using XML Data Islands </TITLE> </HEAD> <XML SRC="ch08_03.xml" ID="customers"></XML> . . .
Now customers can act like a DSO, just like any other DSO (which is why data islands are called data islands). I can bind this DSO to assorted HTML elements, as we've already seen in this chapter:
<XML SRC="ch08_03.xml" ID="customers"></XML> BODY> <CENTER> <H1> Single Record Binding Using XML Data Islands </H1> Name: <INPUT TYPE="TEXT" DATASRC="#customers" DATAFLD="NAME" SIZE=10> ...