@Override
public StringBuffer getXml() throws PagingException {
try {
return new StringWriter() {
{
new XmlWriter(this) {
{
openTag(xt.getTableName());
for (int row = getIndexFirstRecordOnPage() - 1; row < getIndexLastRecordOnPage(); row++)
((XmlWriter)this).write(xt.get(row).getXml().toString());
closeTag(xt.getTableName());