A recordset element contains any number of field elements as its children. it need two attributes: rowCount and fieldnames. The value of rowCount attribute is number of rows of data. The value of the fieldNames is a comma-separated list of the names of fields. Example:
We have table like this:
ID BOOK AUTHOR 1 PHP Undercover Wiwit Siswoutomo 2 PHP Webservices Ilmia
Be transformed into recordset element:
<recordset rowCount="2" fieldNames="ID,BOOK,AUTHOR">
<field name="ID">
<number>1</number>
<number>2</number>
</field>
<field name="BOOK">
<string>PHP Undercover</string>
<string>PHP Webservices</string>
</field>
<field name="AUTHOR">
<string>Wiwit Siswoutomo</string>
<string>Ilmia</string>
</field>
</recordset>