<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 3: XqueryLite - Error: Undefined index</title><link>https://sourceforge.net/p/phpxmlclasses/support-requests/3/</link><description>Recent changes to 3: XqueryLite - Error: Undefined index</description><atom:link href="https://sourceforge.net/p/phpxmlclasses/support-requests/3/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 22 Apr 2003 09:51:49 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/phpxmlclasses/support-requests/3/feed.rss" rel="self" type="application/rss+xml"/><item><title>XqueryLite - Error: Undefined index</title><link>https://sourceforge.net/p/phpxmlclasses/support-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I have a problem in using XqueryLite. I tried some &lt;br /&gt;
queries but I got always the message: &lt;/p&gt;
&lt;p&gt;Error: E_NOTICE &lt;br /&gt;
Undefined index: i &lt;br /&gt;
line: 368 &lt;br /&gt;
$data=$this-&amp;amp;gt;bindings[$var_name]; &lt;/p&gt;
&lt;p&gt;For example the query: &lt;/p&gt;
&lt;p&gt;'for $i in xmlmem($bib)/bib/book return &amp;amp;lt;result&amp;amp;gt; {$i/price} &lt;br /&gt;
&amp;amp;lt;/result&amp;amp;gt;' &lt;/p&gt;
&lt;p&gt;What I have to do with $i? In the main class is an array &lt;br /&gt;
bindings, but I thought that following lines are enough: &lt;/p&gt;
&lt;p&gt;$xq=new XqueryLite(); &lt;br /&gt;
$xq-&amp;amp;gt;init(); &lt;br /&gt;
$result=$xq-&amp;amp;gt;evaluate_xqueryl($query); &lt;/p&gt;
&lt;p&gt;What else I have to do that it works? &lt;/p&gt;
&lt;p&gt;Many thanks! &lt;br /&gt;
Regards &lt;br /&gt;
Maik Thiele &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Maik Thiele</dc:creator><pubDate>Tue, 22 Apr 2003 09:51:49 -0000</pubDate><guid>https://sourceforge.netca2510588049df8bdae40eaef61489307eacd3cc</guid></item></channel></rss>