Jump to content
JasperReports Library 7.0 is now available ×

Is there any type of dynamic element for different types of files?


edgar.machuca

Recommended Posts

I'm currently creating a report from a XML file source, with Xpath queries. But a field (<data></data>)will have external links to random data types (jpg, txt, mp3). And I would like to render only the images, text and mp3 as plain text / hyperlinks. What type of element should I use to list that column. Or do I have to write any Java code for that part? I'm new to Jaspersoft Studio, but have some knowledge of Java.

Thanks in advance.

<findings>        <finding>        <task>¿Las herramientas se encuentran en su lugar?</task>        <status>Good</status>        <user>Deydra Cruz</user>        <date>Feb-09-2017 04:00 PM</date>        <type>Picture</type>        <data>http://enterprise.goandsee.co/files/documents/Vyodg2H_f-pic1486668038879.jpg"></data>    </finding>    <finding>        <task>¿Se usa joyería en el área de trabajo?</task>        <status>Not good</status>        <user>Walter Stalder</user>        <date>Feb-09-2017 04:00 PM</date>        <type>Note</type>        <data>Esta es una nota</data>    </finding>    <finding>        <task>¿Se usa joyería en el área de trabajo?</task>        <status>Not good</status>        <user>Walter Stalder</user>        <date>Feb-09-2017 04:00 PM</date>        <type>Time</type>        <data>10.39 s</data>    </finding>    <finding>        <task>¿Las herramientas se encuentran en su lugar?</task>        <status>Good</status>        <user>Deydra Cruz</user>        <date>Feb-09-2017 04:00 PM</date>        <type>Audio</type>        <data>http://enterprise.goandsee.co/files/documents/Vyodg2H_f-pic1486668038879.mp3</data>    </finding>          </findings>[/code]

 

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...