I've been having some great fun with the SRU and CQL components (thanks
Ed, Brian and the folks responsible for Ockham).
No huge challenge putting the SearchRetrieve components in place.
I have a question regarding the Explain function
The first cut at the explain information is at:
http://search.halinet.on.ca/search/MarineImagesExplain.xml
A snippet of one version of the code that attempts to incorporate this
into the perl script (badly)
$response = SRU::Response::Explain->new ($request);
my $ExplainFile = get($ExplainXMLfile);
$response = SRU::Response::Explain->record ($ExplainFile);
This yields a "must pass in a SRU::Response::Record Object" error
message on the last of these lines.
Elsewhere XML::LibXML is used to parse XML being handed to the script.
Doing a parse_string($Explainfile) and handing the result off doesn't
help either.
Suggestions?
Walter Lewis
Halton Hills