User vs. Developer Selected Search Criteria
There are two ways to use XML Indexing feature to make your Web site more robust.
- Present a screen of search criteria. A visitor to your site uses the screen to select the kind of information he is looking for. For example, if your site sells outdoor clothing, the user might want to see all wool hats for men under $20.00. A custom function determines the format of the results page.
- Determine the search and display criteria programmatically using a custom function. Your Web developer inserts a function on a Web page that specifies search and display criteria. For example, if your site sells books, a visitor to your site sees a navigation link Find books under $5.00. When he clicks that link, the function searches your site and returns a Web page (possibly a navigation sidebar) displaying all books in your database whose price is less than $5.00.