Maik Thiele - 2003-04-22

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