From b18cbc277df1edbce00533abeac4d50907268273 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 27 Oct 2006 00:45:12 +0000 Subject: [PATCH] irspy_xpath_context() also registers "i" as the IRSpy namespace. --- lib/ZOOM/IRSpy.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 1.7.10.4