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~891 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=b2de101f1be2c698bf5d67492795bb6fd3c7279f;p=irspy-moved-to-github.git 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; }