#3 XqueryLite - Error: Undefined index

open
nobody
None
5
2003-04-22
2003-04-22
Maik Thiele
No

Hello,

I have a problem in using XqueryLite. I tried some
queries but I got always the message:

Error: E_NOTICE
Undefined index: i
line: 368
$data=$this->bindings[$var_name];

For example the query:

'for $i in xmlmem($bib)/bib/book return <result> {$i/price}
</result>'

What I have to do with $i? In the main class is an array
bindings, but I thought that following lines are enough:

$xq=new XqueryLite();
$xq->init();
$result=$xq->evaluate_xqueryl($query);

What else I have to do that it works?

Many thanks!
Regards
Maik Thiele

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks