Jump to content
Changes to the Jaspersoft community edition download ×

special character in xml Datasource


ye_l

Recommended Posts

Hello, 

I have a specical character in my xml Datasource:

<xmltag><test</xmltag>

The Text should read "<test" in my Pdf. 

This code in the Text Field jasper Studio does not work: 

$F{xmltag}.contains( "<" )?$F{xmltag}.replace( "<","<" ):$F{xmltag}

Can you please help me?

Thank you

 

 

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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