[Xml-compile] queryXPath() ... related
Mark Overmeer
mark at overmeer.net
Mon May 23 15:04:38 GMT 2011
This is an eXist query, not specific to Perl's connector to eXists.
I doubt anyone on this list can help you resolve this. Try the exist
mailinglist.
I guess that the "XPath" search always only returns nodes, which you
then can collect with retreiveDocumentNode().
(In XMLRPC for eXist, the call for queryXPath() is named queryP)
* Nikos Skalis (garde.avant.be at gmail.com) [110523 14:15]:
> my $db_xml_doc = "/db/LAB/foo-bar00/2011/5/23/11_15_33.xml" ;
> my ($db_rc, $db_datum) = $eXist->queryXPath("/foo-bar00/timeline", $db_xml_doc, "") ;
> print Dumper($db_datum) ;
> The result is :
> $VAR1 = {
> 'hash' => 1717362942,
> 'id' => 3,
> 'results' => [
> {
> 'node_id' => '1.2',
> 'document' => '/db/LAB/foo-bar00/2011/5/23/11_15_33.xml'
> }
> ]
> };
>
> ********** The question is : How can I retrieve the "timeline" info ?
> Seems that the "node_id" variable (=1.2) can points to the "timeline"
> info, but how can I use it ?
--
Regards,
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark at Overmeer.net solutions at overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net
More information about the Xml-compile
mailing list