Thanks for this clear example. I have one additional question: in the introduction to this article, you write ‘it depends’. Having read your article, I still wonder whatit depends on. From your article it would seem that using the Object Type approach would always give me a nicer, clearer structure to work with in the mapper. Is there a downside to this? When would using the XMLType return type (and the anyType in XML) be more appropriate?

kind regards,

Lucas

]]>By: Marco Gralikehttps://technology.amis.nl/2010/12/23/should-you-expose-a-stored-procedure-via-xmltype/#comment-6432
Thu, 23 Dec 2010 15:21:17 +0000http://technology.amis.nl/blog/?p=9479#comment-6432Be aware that using XSLT (transformation) and using object types (mapping structure) are two different objectives/methods… The object type structure is in this example the equivalent of what you achieve while using an XML Schema…
]]>