xml代码如下:
<?xml version="1.0"?>
<jasperPrint name="BarbecueReport" pageWidth="595" pageHeight="842" locale="uk_UA" timezone="Europe/Helsinki">
<page>
<text textAlignment="Center" textHeight="27.671875" lineSpacingFactor="1.2578125" leadingOffset="-4.8339844">
<reportElement x="40" y="60" width="515" height="30"/>
<font size="22"/>
<textContent>abc</textContent>
</text>
</page>
</jasperPrint>
修改标红abc并写入新的数据,求代码,谢谢大婶们