Jump to content
Changes to the Jaspersoft community edition download ×

CDATA not recognizing &


2004 IR Help

Recommended Posts

By: Sy Haas - syhaas

CDATA not recognizing &

2005-02-14 10:09

I'm printing a bibliography out and using the STYLE attribute for the TextElement to underline the title of the book. The only way that I have figured out to print one field after another is to concat them all in one string, surrounded by the CDATA tag.

ex: <![CDATA[LastName, FirstName. "Chapter." from Title. 2005, by Publisher.]]>

Now, if any part of those fields contain the & (ampersand), then the whole text is displayed, including the <style> tags. If the symbol (&) does not appear, then the underline section works as it should.

 

*On a side note, does anyone know how to indent text that may rollover multiple lines?

Thank you!

-Sy

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