HTML and CSS Reference
and Display Results on a Web Page
A common use for an XML data island is providing a mechanism for users to search for
specific data items. The third hyperlink on the Calumet Restaurant Supply home page,
Search, is a link to a Web page that allows users to search for items using any part of the
description (Figure 12-36). By creating data islands that bind with a Web page, a user can
view records without conflicting with other database processes. This Web page allows
users to enter a description or part of a description, and then press the enter key or click
data island for matches. If matches are found, the Web page displays all the items with
descriptions matching the entered term.
The Search Items Web page (found in the Data Files for Students) is bound to
properties and methods that are built-in functions of the Internet Explorer browser.
Because the search is sequential, the order of the XML is immaterial; however, as with the
Table Web page, the XML file cannot have the XSD or XSL files bound to it.
results or error
text field box with
To Open an HTML Document and Save It with a New Name
The following steps open the HTML Web page that allows users to search an XML
document and view the results, and save the document with a new name.
If necessary, click the Notepad++ button on the taskbar to activate the Notepad++
With the USB drive plugged into your computer, open chapter12-1search-items.html,
from the Chapter12\ChapterFiles folder.
Save the file as chapter12-1search-items_solution.html .