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 |
## |
## |
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"; |