Sleepycat::XmlQueryContext.3pm

Langue: en

Version: 2008-10-21 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

XmlQueryContext - A Perl interface to the DbXml XmlQueryContext Class

SYNOPSIS

     use Sleepycat::DbXml;
 
     my $mgr = new XmlManager();
     my $q = $mgr->createQueryContext($returntype, $evaluationtype);
 
     my $xmlvalue = new XmlValue(...);
     $q->setVariableValue($name, $xmlresults);
     $q->setVariableValue($name, $xmlvalue);
     $q->setVariableValue($name, 'abc');
 
     $q->clearNamespaces;
 
 
     $q->getVariableValue($name, $xmlresults);
     $q->getVariableValue($name, $xmlvalue);
     $q->getVariableValue($name, $scalar);
 
     $q->setEvaluationType($type);
     $type = $q->getEvaluationType();
 
     $q->removeNamespace($prefix);
     $string = $q->getNamespace($prefix);
     $q->setNamespace($prefix, $uri);
 
     $q->setReturnType($type);
     $type = $q->getReturnType();
 
     $string = $q->getBaseURI();
     $q->setBaseURI($string);
 
         $q->interruptQuery();
         $q->setQueryTimeoutSeconds($secs);
         my $i = $q->sgetQueryTimeoutSeconds();
 
 

DESCRIPTION

CONFORMANCE to C++ API

The Perl interface to XMlQueryContext is identical to the C++ API, apart from the following
1.

Constructor

An XmlQueryContext object is created by a call to XmlManager::createQueryContext.

Methods

NOTES

EXAMPLES

SEE ALSO

AUTHOR

Paul Marquess