Jump to content
We've recently updated our Privacy Statement, available here ×

Non-recordset oriented XML data


smithmarkduane

Recommended Posts

Hi:

 

I would like to use iReport to design a jxml file for JasperReports to esentially generate a filled in form. Therefore, my XML data is not necessarly recordset oriented (but may have sections where I will need to extract records) but instead, for example, may look like this:

 

<?xml version="1.0" encoding="ISO-8859-1" ?>

<ReportData>

<Val1>Value1</Val1>

<Val2>Value2</Val2>

<Val3>Value3</Val3>

<Val4>Value4</Val4>

<Sub1>

<Val5>Value5</Val5>

<Val6>Value6</Val5>

<Sub2>

<Val7>Value7</Val7>

<Val8>Value8</Val8>

</Sub2>

</Sub1>

<Sub3>

<Rec>RecVal1</Rec>

<Rec>RecVal2</Rec>

<Rec>RecVal3</Rec>

<Rec>RecVal4</Rec>

</Sub3>

</ReportData>

 

Is there an easy way to map this kind of data to fields in iReport.

 

Thanks for any help.

Mark

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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...