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

vyankateshh

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

vyankateshh's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Basically i have two xml file one xml containing all the parameters data File 1 <parameter> <key>City</key> <value>ST. Paul</value> </parameter> <parameter> <key>Name</key> <value>Raj Qureshi </value> </parameter> <parameter> <key>State</key> <value>MN</value> </parameter> <parameter> <key>StreetName</key> <value>160 Kellogg Blvd E</value> </parameter> File 2 2nd xml contains nested data <table> <tableName>Results</tableName> <row> <column> <columnName>_ID</columnName> <columnValue>5232</columnValue> </column> <column> <columnName>Name</columnName> <columnValue>Raj Qureshi</columnValue> </column> <innerTable> <tableName>ProgramDecisions</tableName> <row> <column> <columnName>_ID</columnName> <columnValue>PT26355</columnValue> </column> <column> <columnName>Age </columnName> <columnValue>12</columnValue> </column> </row> </innerTable> <row> <row> Structure same as above </row> </table> So I am able to access data from 1st xml(parameters) but not able to get the data from 2nd xml I tried using Xpath but still data result is null in table after generating pdf . **requirements- 1)To get data from xml to populate table using 2nd xml. 2)Basic java code for using both xml at the same time (if possible). 3)Steps or idea to use both dataset(xml ) in jasper studio at the same time **Acutal result- **Expected result-
  2. Hello , i have two xml file i have to fill my jasper report with the data in the xml . one of the xml file contains parameter data and another contains table data with the help of that i need to feel the jrxml . i have used jrdatasource and jrbeancollectiondatasource but the result is still when i generate pdf . Can you also let me know how can i create innertable and outertable in jrxml
  3. So i have two xml file one contains parameters and another contains table data i am able to work with parameter and get that data from xml but i have issue with table data i tries using JRBeanCollectionDataSource and trying to use JRDataSource what i am basically trying to do is mapping for parameters i dont know about table. Can anyone help me with steps or anything that can be helpfull. Thanks for the help.
×
×
  • Create New...