dablick Posted March 27, 2013 Share Posted March 27, 2013 I want to have shared (template) JRXML files that work for a variety of XML datasources.The only thing I know of that might prevent this is that the field specifications would be slightly different.For one XML file the XPATH for a name field might be: person/name/lastFor another XML file the XPATH might be: contact/last_nameIdeally I could pass the XPATH in as a parameter and have the following inside a fieldDescription tag $P{XPATH_FOR_NAME}But Jasper doesn't seem to support the use of parameters in tags.Is the some way for me to inject the field specification into my JRXML templates? 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