title: Selecting nodes based on multiple attributes of a node using MiniXPath library
body: <p>I have a XML document which looks something like this:</p>
  
  <pre>
  &lt;events&gt;
      &lt;event category="gymnastics" subcategory="rhythmic" date="5" venue="ig stadium"&gt;
          &lt;id&gt;1&lt;/id&gt;
      &lt;/event&gt;
      &lt;event category="gymnastics" subcategory="test" date="6" venue="jn stadium"&gt;
          &lt;id&gt;2&lt;/id&gt;
      &lt;/event&gt;
      &lt;event category="athletics" subcategory="sprint" date="5" venue="ig stadium"&gt;
          &lt;id&gt;3&lt;/id&gt;
      &lt;/event&gt;
      &lt;event category="athletics" subcategory="marathon" date="6" venue="jn stadium"&gt;
          &lt;id&gt;4&lt;/id&gt;
      &lt;/event&gt;
      &lt;event category="swimming" subcategory="freestyle" date="7" venue="ig stadium"&gt;
          &lt;id&gt;5&lt;/id&gt;
      &lt;/event&gt;
  &lt;/events&gt;
  </pre>
  
  <p>So now when I issue a XPath query to MiniXPath like this in order to get nodes with category=gymnastics and subcategory=rhythmic:
  //events/event[@category="gymnastics" and @subcategory="rhythmic"]</p>
  
  <p>,the program crashes and fails to give any output. Is the path syntax right? Is MiniXPath feature complete? Is there any other XPath library that I can use on a mobile in a J2ME environment.</p>