|
Home >Online Product Documentation >Table of Contents >Obtaining All Marked-Up Text Obtaining All Marked-Up TextWhen you query a document, you do not usually want to obtain all marked-up text. However, an understanding of queries that return all marked-up text makes it easier to define a query that retrieves just what you want.
The following figure shows a complete query (
This query returns the In the query, the initial forward slash (/) instructs the XPath processor to start its search at the root node.
Suppose you run the following query on
This query returns an empty set. It searches the immediate children of the root node for an element named |