Jump to content
We've recently updated our Privacy Statement, available here ×

kurosa

Members
  • Posts

    3
  • Joined

  • Last visited

kurosa's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. i was in same situation right now. create Variable that the data type 'java.lang.String[]' or Integer[] the data type you can select is only String/Integer, so add [] after String/Integer Then write variable expression $F{array}.split(,) after that, text field expression is $V{variable}[0]. does it help you?
  2. hello! now i use iReport2.0.4 to issue PDF on website. The data source is XML file, and query language is XPath. When XML source privide below, <?xml vertion="1.0"?> <root> <attribute id="0" content="AAAA" choose="false"> </attribute> <attribute id="1" content="BBBB" choose="true"> </attribute> <attribute id="2" content="CCCC" choose="false"> </attribute> </root> i want to display on PDF "BBBB", so i need to get the contents that has choose="true". what do i describe at field description? /root/XMLFILENAME/attribute/@content =>you can get AAAA but not BBBB can i use if statement in iReport? #i'm sorry my English is so bad,i'm not native.
×
×
  • Create New...