/[cvs]/nfo/perl/libs/Data/Storage/Handler/Files.pm
ViewVC logotype

Diff of /nfo/perl/libs/Data/Storage/Handler/Files.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by joko, Tue May 13 08:06:13 2003 UTC revision 1.6 by joko, Tue May 13 16:34:26 2003 UTC
# Line 2  Line 2 
2  ##    $Id$  ##    $Id$
3  ##    ------------------------------------------------------------------------  ##    ------------------------------------------------------------------------
4  ##    $Log$  ##    $Log$
5    ##    Revision 1.6  2003/05/13 16:34:26  joko
6    ##    don't use GUID when building xpq filter
7    ##
8  ##    Revision 1.5  2003/05/13 08:06:13  joko  ##    Revision 1.5  2003/05/13 08:06:13  joko
9  ##    filled "sub sendQuery": query xml document via XPath  ##    filled "sub sendQuery": query xml document via XPath
10  ##  ##
# Line 103  sub sendQuery { Line 106  sub sendQuery {
106                
107        # map a GUID to a xml-name attribute which is searched anywhere ('*/*')        # map a GUID to a xml-name attribute which is searched anywhere ('*/*')
108        #$xpq = '*/' . $query->{options}->{GUID} if (!$xpq && $query->{options}->{GUID});        #$xpq = '*/' . $query->{options}->{GUID} if (!$xpq && $query->{options}->{GUID});
109        $xpq = '*/*[@name="' . $query->{options}->{GUID} . '"]' if (!$xpq && $query->{options}->{GUID});        #$xpq = '*/*[@name="' . $query->{options}->{GUID} . '"]' if (!$xpq && $query->{options}->{GUID});
110                
111        $xpq = '*' if !$xpq;        $xpq = '*' if !$xpq;
112        #print "xpq: $xpq", "\n";        #print "xpq: $xpq", "\n";

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed