Home    |    Concepts   |   API   |   Samples
Concepts > XML
Data Retrieval

The process of retrieving XML data from a database using the ArcSDE API is similar to retrieving layers or raster datasets.

To retrieve XML data, an XML document object is created and used as a placeholder for the object returned by the SeRow.getXML() Java API method or the SE_stream_get_xml() C API function. For advanced queries involving XPath search constraints, the application must formulate a query string that follows a subset of the XPath standard.

The following code snippets demonstrate how XML data is retrieved using the C and Java APIs. It is assumed here that an XML document has already been inserted into the database. For more on inserting data, see the Data Loading section.
 

See also

Data Retrieval using XPath constraints

feedback | privacy | legal