Jump to content

aspersoft problem in getting data with same tag (field) name from xml


dias_95_95

Recommended Posts

Im newbie in JasperSoft. I have problem retrieving data with same tag (field) name. My xml have the name field "ChargeIssuerOrgNameRu" repeatly used.

I can only able to get the first "ChargeIssuerOrgNameRu" data,

Any help will be highly appreciated.

Thanks

jrxml : 

<textFieldExpression><!CDATA[($F{RegChargeIssuerOrgName}==null?"":$F{RegChargeIssuerOrgName}+",<br/>")]]></textFieldExpression>

xml :

<RegCharges><EntryDate>2014-04-28+06:00</EntryDate><ChargeIssuerOrgNameRu>first article</ChargeIssuerOrgNameRu></RegCharges><RegCharges><EntryDate>2014-05-04+06:00</EntryDate><ChargeIssuerOrgNameRu>Second article</ChargeIssuerOrgNameRu></RegCharges>

And yeah, I am not getting why the jrxml named "RegChargeIssuerOrgName" instead of "ChargeIssuerOrgNameRu" (the project is not mine)

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...