title: How to specific a certain row in an XML based Jasper Report
body: <p>I'm trying to use an XML data source iReport Template, however, I need to call out certain rows in Jasper from a listed object.</p>
  <pre><code>&lt;week-dates&gt;
    &lt;date dayNumber=&quot;1&quot; iso=&quot;2021-07-12&quot; formatted=&quot;07/11/2021&quot; dayOfWeek=&quot;SUNDAY&quot; dayOfWeekShort=&quot;Sun&quot;/&gt;
    &lt;date dayNumber=&quot;2&quot; iso=&quot;2021-07-13&quot; formatted=&quot;07/12/2021&quot; dayOfWeek=&quot;MONDAY&quot; dayOfWeekShort=&quot;Mon&quot;/&gt;
    &lt;date dayNumber=&quot;3&quot; iso=&quot;2021-07-14&quot; formatted=&quot;07/13/2021&quot; dayOfWeek=&quot;TUESDAY&quot; dayOfWeekShort=&quot;Tue&quot;/&gt;
    &lt;date dayNumber=&quot;4&quot; iso=&quot;2021-07-15&quot; formatted=&quot;07/14/2021&quot; dayOfWeek=&quot;WEDNESDAY&quot; dayOfWeekShort=&quot;Wed&quot;/&gt;
    &lt;date dayNumber=&quot;5&quot; iso=&quot;2021-07-16&quot; formatted=&quot;07/15/2021&quot; dayOfWeek=&quot;THURSDAY&quot; dayOfWeekShort=&quot;Thu&quot;/&gt;
    &lt;date dayNumber=&quot;6&quot; iso=&quot;2021-07-17&quot; formatted=&quot;07/16/2021&quot; dayOfWeek=&quot;FRIDAY&quot; dayOfWeekShort=&quot;Fri&quot;/&gt;
    &lt;date dayNumber=&quot;7&quot; iso=&quot;2021-07-18&quot; formatted=&quot;07/17/2021&quot; dayOfWeek=&quot;SATURDAY&quot; dayOfWeekShort=&quot;Sat&quot;/&gt;
  &lt;/week-dates&gt;
  </code></pre>
  <p>I can get the first object, using <code>week-dates/date/@iso</code> inside the page header band, But this should be used to iterate through the object in the detail band. However, I need fields to specifically call out certain rows, for example <code>week-dates/date/iso[2]</code> to call out iso date from dayNumber 3. However, I can't seem to get that to work.</p>
  <p>Does anyone have any suggestions on how I can get a specific line in this list so I can use text fields in horizontal order?</p>