jasper reports - Using XPath in Jaspersoft Studio to compare field values to parent -


i'm using jaspersoft studio display 6 rpm , readings within table. there 2 datasets, 1 table , 1 6 readings stated above. issue i'm having need group these 6 readings each table using mudpropertiesuid values. give idea, i'll show section of xml document:

<root>    <modules>       <mudproperties>          <mudpropertiesuid>          <.....>          <mudrheology>          <mudrheology>          <mudrheology>          <mudrheology>          <mudrheology>          <mudrheology>             <rpm>             <reading>             <mudpropertiesuid>       <mudproperties>          <....>          <mudrheology> (x6) 

as can see, there 6 mudrheology nodes each mudproperties node, each having mudpropertiesuid within.

the question: using jaspersoft reports dataset , query dialog, have following not work:

/root/modules/mudproperties/mudproperties/mudrheology[mudpropertiesuid = parent::mudpropertiesuid] 

what i'm trying display 6 mudrheology rpm & reading if each mudrheology mudpropertiesuid same parent nodes mudpropertiesuid value.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -