From: Mike Taylor Date: Fri, 27 Oct 2006 00:45:12 +0000 (+0000) Subject: irspy_xpath_context() also registers "i" as the IRSpy namespace. X-Git-Tag: CPAN-v1.02~54^2~836 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=b18cbc277df1edbce00533abeac4d50907268273 irspy_xpath_context() also registers "i" as the IRSpy namespace. --- diff --git a/lib/ZOOM/IRSpy.pm b/lib/ZOOM/IRSpy.pm index 83d417c..3d3d05a 100644 --- a/lib/ZOOM/IRSpy.pm +++ b/lib/ZOOM/IRSpy.pm @@ -1,4 +1,4 @@ -# $Id: IRSpy.pm,v 1.40 2006-10-26 18:02:59 mike Exp $ +# $Id: IRSpy.pm,v 1.41 2006-10-27 00:45:12 mike Exp $ package ZOOM::IRSpy; @@ -576,6 +576,7 @@ sub irspy_xpath_context { my $root = $doc->getDocumentElement(); my $xc = XML::LibXML::XPathContext->new($root); $xc->registerNs(e => 'http://explain.z3950.org/dtd/2.0/'); + $xc->registerNs(i => $irspy_ns); return $xc; }