The ability to search XML documents received a lot of attention in late 2000. We will most likely continue to see this as a focus in 2001. Several commercial products exist that address indexing and searching of XML documents. In the context of development, there are also many instances where search becomes a necessary function either as a feature of the application or as a productivity/testing tool for the developer. XML searches can be grouped into two categories. The first would be structural searches. Given the inherent hierarchical structure of XML, it is possible to come up with searches like second child node of the element X. DOM can be used for such searches since a DOM tree is an in-memory representation of the XML document. The other type of search would be full-text search where you are just looking for a particular word or combination of words.