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

XML to JRXML conversion


anita.dhale

Recommended Posts

Hello All,

I am  new to Jasper reporting and in  have to convert existing xml to jrxml. I tried to find on Internet but nothing relevant was available. CAn you please help me undersstand how to do the same. Currently what I tried is as below: 1. open xml file in iReport 5.6.0 

2. comment the 

<!DOCTYPE jasperReport PUBLIC "-//JasperReports//DTD Report Design//EN" "http://www.jasperreports.com/dtds/jasperreport.dtd"
[
    <!ENTITY header SYSTEM "xxx_header.xml">
    <!ENTITY title SYSTEM "xxxTitle.xml">
    <!ENTITY footer SYSTEM "footer.xml">
]>
3. comment &header, footer and title inside the <jasperReport> </jasperreport>
4. close the xml file and rename file as .jrxml.
5. open the file again in IReport 
this works and allows me to see the designer view and  Preview and generates the .jasper file. However, I am not sure if this is correct approach. Can anyone please advice? 
 
Thank you in advance.
Anita 
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...