Berkeley DB: XmlQueryContext
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++

# XmlQueryContext |

`

###

    import com.sleepycat.dbxml.*;

    public class XmlQueryContext extends Object
    {
    	XmlQueryContext(int flags)
    		throws DbException;
    	...
    }

# Description

An XmlQueryContext is the context within which a query is performed against an XmlContainer. This context includes a namespace mapping, variable bindings, and flags that determine how the query result set should be determined and returned to the caller.

The XPath syntax permits expressions to refer to namespace prefixes, but not to define them. The XmlQueryContext class provides namespace management methods so the caller may manage the namespace prefix to URI mapping. The XPath syntax also permits expressions to refer to variables, but not to define them. The XmlQueryContext class provides methods so the caller may manage the variable to value bindings.

# Class

XmlContainer, XmlDocument, XmlQueryContext

# See Also

XmlContainer.close, XmlContainer.declareIndex, XmlContainer.deleteDocument, XmlContainer.getDocument, XmlContainer.getName, XmlContainer.open, XmlContainer.putDocument and XmlContainer.queryWithXPath.

XmlDocument.getAttributeValue, XmlDocument.getContent, XmlDocument.getID, XmlDocument.getName, XmlDocument.getType, XmlDocument.setContent, XmlDocument.setName, and XmlDocument.setType.

`

Copyright Sleepycat Software