指定sql查询问题
我按使用手册上的操作做的指定sql查询,怎么也不成功,高手帮忙看下哪里出了错。下面是我生成的xml文件。谢谢
<?xml version="1.0" encoding="UTF-8" standalone="no"?><jatools Class="jatools.ReportDocument" Name="jatools report template"><VariableContext/><Page><Children ItemClass="PagePanel"><Item0><Width>753</Width><Height>80</Height><Type>100</Type></Item0><Item1><Y>802</Y><Width>753</Width><Height>280</Height><Type>103</Type></Item1><Item2><Y>80</Y><Width>753</Width><Height>722</Height><Children ItemClass="Table"><Item0><X>67</X><Y>35</Y><Children ItemClass="Label"><Item0><Name>$mysql</Name><Text>=anytable/Row</Text><Border/><Cell><Row>0</Row><Col>0</Col></Cell><InitPrint>builder = new jatools.component.table.DynamicColumnTableBuilder(me,anytable.getDataset());
builder.build();
</InitPrint></Item0><Item1><Text>=$now</Text><Border/><Cell><Row>1</Row><Col>0</Col></Cell><InitPrint>builder = new jatools.component.table.DynamicColumnTableBuilder(me,anytable.getDataset());
builder.build();
</InitPrint></Item1></Children><ColumnWidths>60</ColumnWidths><RowHeights>20,20</RowHeights></Item0></Children><Type>102</Type></Item2></Children></Page><NodeSource><Children ItemClass="DatasetNodeSource"><Item0><Children ItemClass="RowNodeSource"><Item0/></Children><Reader Class="SqlReader"><Name>anytable</Name><Sql>${mysql}</Sql><Connection><Driver>${property("driver")}</Driver><User>${property("user")}</User><Password>${property("pwd")}</Password><Url>${property("url")}</Url></Connection></Reader><TagName>anytable</TagName></Item0></Children></NodeSource></jatools>