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.