Jsoup select li from ul
<p>I want to select from following ul <strong>all</strong> children with Jsoup. </p>

<pre><code>&lt;ul class="breadcrumbs xlarge-12 columns hide-for-small-only"&gt;

&lt;li&gt;
&lt;a href="http://www.thalia.de/shop/home/show/"&gt;
Home
&lt;/a&gt;

&lt;/li&gt;

&lt;li&gt;
&lt;a href="http://www.thalia.de/shop/buecher/show/"&gt;
B&amp;uuml;cher
&lt;/a&gt;

&lt;/li&gt;

&lt;li&gt;
&lt;a href="http://www.thalia.de/shop/fachbuecher-115/show/"&gt;
Fachb&amp;uuml;cher
&lt;/a&gt;

&lt;/li&gt;

&lt;li&gt;
&lt;a href="http://www.thalia.de/shop/chemie-143/show/"&gt;
Chemie
&lt;/a&gt;

&lt;/li&gt;

&lt;/ul&gt;
</code></pre>

<p>Here is my code, but this gives me only the first two elements. What am I doing wrong?</p>

<pre><code>Elements category = doc.select("div.ncMain.productMainView");
Elements category2 = category.select("ul.breadcrumbs.xlarge-12.columns.hide-for-small-only");
Elements category3 = category2.select("ul li a");
String categoryString = category3.text();
</code></pre>