floulou Posted April 22, 2008 Share Posted April 22, 2008 Hi everybody, From NetBeans I am trying to retreive informations from a XML file (xml as datasource) [file name=MyXML-d7e26d45bec62116b84adcf85081c518.xml size=704] This is my code: Code: MyJRXML file: Code: [/code] MyXSD file: Code: Comment describing your root element â«â»sequence> â«â»sequence> â«â»schema>[/code] But the problem is that the pdf file is "empty" NB: It works well when I use iReport 2.0.5 Thanking in advance Link to comment Share on other sites More sharing options...
floulou Posted April 22, 2008 Author Share Posted April 22, 2008 Hi,Can someone test the post above and tell us his result,please.:P Link to comment Share on other sites More sharing options...
floulou Posted April 22, 2008 Author Share Posted April 22, 2008 Hi,It works now,I used "JRXMLDataSource" while i must use"JRXmlDataSource" which is in the package "import net.sf.jasperreports.engine.data" ;) 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