2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: Schuller Tom - tomluxj Uncompile .japer to .xml 2003-07-15 05:55 Hy, I have losed my .xml files. But I possess the compiled .jasper files. Is it possible to generate the source .xml files from the compiled .jasper files. Thanks, Tom By: Chuck Deal - cdeal RE: Uncompile .japer to .xml 2003-07-15 06:38 Try this: JasperDesign jd = <Load your .jasper object here> String xml = JRXmlWriter.writeReport(jd); THis is similar code that that used in the JasperEdit project. Basically, load your .jasper into the JasperDesign Object, then let the JRXmlWriter write the design out into a String. THen you save the String into a file. Good luck! Chuck By: Teodor Danciu - teodord RE: Uncompile .japer to .xml 2003-07-15 06:41 Hi, Check the "hyperlink" sample to see how a .jasper.xml file is generated from the compiled .jasper file, using the JRXmlWriter as Charles suggested. I hope this helps. Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now