There's no way to customize the XML output. You'll just need to use either XSLT or some other means of transformation. The xmlResultName should work though. Can you post an example of what you're doing?
Clinton On Mon, 14 Feb 2005 18:11:57 +0100, Franck Silvestre <[EMAIL PROTECTED]> wrote: > 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 > >

