I'm completely new to ibatis .
I play with the ability to get XML output.

If I use in my sql map file a resultMap with the attribute class set as "xml" I get a String for each item of the result list.
Is it possible to customize the root element name of fetched items ?
The default root element name is "result". I tried to use the "xmlResultName" of the "select" element but it did nothing.


Second question : is there a way to customize the structure of the xml output (for exemple tell a fetched value to be an attribute of an element) ?

Thanks in advance
Franck




Reply via email to