deesel Posted February 12, 2008 Share Posted February 12, 2008 Hi I am new to iReport..Can anyone let me know if the follwing is correct when using xml data source. My xml looks like this:<addressbook> <category name="home"> <person id="1"> <LASTNAME>Davolio</LASTNAME> <FIRSTNAME>Nancy</FIRSTNAME> </person> </category></addressbook> I have added a field 'category' with description '/addressbook/category@name' I have added the field in my .jrxml When I try to compile with the ative datasource as the xml, the report is empty. Please help. Link to comment Share on other sites More sharing options...
greylimbo Posted February 13, 2008 Share Posted February 13, 2008 try the xml example and here is a xpath link thats usefull http://www.zvon.org/xxl/XPathTutorial/General/examples.html 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