Searching XML Documents
XML documents provide a tremendous advantage to narrowing search results because of their heirarchical structure and use of multiple document summary fields.
Web Search provides complete hierarchical searching using the fieldname=search_criteria operator. For example, you can find information anywhere in the XML document, within any of the title tags, or limit it to within the title tag that is part of the <DOCUMENT><SUMMARY> hierarchy.
The following table shows example uses of the fieldname=search_criteria operator when performing a search in XML documents.
search_criteria |
Finds search_criteria anywhere in the document. |
/<Document*=search_criteria |
Finds search_criteria anywhere within any tag that is part of the DOCUMENT hierarchy. |
/<Document<Summary*=search_criteria |
Finds search_criteria within any tag that is part of the <DOCUMENT> or <SUMMARY> hierarchy. |
/<Document<Summary<Title=search_criteria |
Finds search_criteria only within the <DOCUMENT><SUMMARY><TITLE> hierarchy. |
/<Document*<Title=search_criteria |
Finds search_criteria within any TITLE tag, located at any level within the DOCUMENT hierarchy. |
/<*<Title=search_criteria |
Finds the search_criteria within any TITLE tag in the document. |