### XmlQueryContext.getNamespace |

`

###

    import com.sleepycat.dbxml.*;

    public String getNamespace(String prefix)
        throws XmlException;

### Description: XmlQueryContext.getNamespace

The XmlQueryContext.getNamespace method returns the namespace URI for the specified prefix. An empty string is returned if no URI is defined for the prefix.

### Parameters

prefix
  The name of the namespace prefix whose URI mapping is required.

  Return the namespace URI for the specified prefix, or an empty string if no URI is defined for that prefix.

### Class

XmlContainer, XmlDocument, XmlException, XmlIndexSpecification, XmlQueryContext, XmlQueryExpression, XmlResults, XmlUpdateContext, XmlValue`

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.