From: Ilya M. <m_...@us...> - 2003-03-26 16:22:27
|
Update of /cvsroot/perl-xml/XML-LibXML-XPathContext In directory sc8-pr-cvs1:/tmp/cvs-serv6005 Modified Files: XPathContext.pm Log Message: List unregister*** methods in SYNOPSIS Index: XPathContext.pm =================================================================== RCS file: /cvsroot/perl-xml/XML-LibXML-XPathContext/XPathContext.pm,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- XPathContext.pm 26 Mar 2003 16:19:42 -0000 1.12 +++ XPathContext.pm 26 Mar 2003 16:22:16 -0000 1.13 @@ -134,6 +134,10 @@ $xc->registerFunctionNS($name, $namespace_uri, sub { ... }); $xc->registerVarLookupFunc(sub { ... }, $data); + $xc->unregisterFunction($name); + $xc->unregisterFunctionNS($name, $namespace_uri); + $xc->unregisterVarLookupFunc($name); + my @nodes = $xc->findnodes($xpath); my $nodelist = $xc->findnodes($xpath); my $result = $xc->find($xpath); |