I was just exploring XML output from IBATIS too. I thought I remember a thread on this list mentioning where people thought that the XML result type (resultClass="xml") was/should be deprecated, since it isn't the fundamental purpose of IBATIS.

My particular need is to use IBATIS with Spring to do queries. Does Spring help out with producing XML results and/or converting results into XML?

BTW Oracle has an XSQL technology that produces XML directly from SQL queries. See "XSQL servlet" at http://www.oracle.com/technology/tech/xml/xdkhome.html

At 05:14 PM 3/13/2007, Jie Liu wrote:
Hi,

I am trying to generate XML output files from Database. I know that
iBatis provides mapping in the XML configuration file - it can map
from
database table columns to XML elements, does iBatis provide mapping
from
columns to XML attributes as well?

Thanks,

Jay

Reply via email to