Re: [xquery-talk] Help understanding typeswitch-based Identity Transform

2018-02-16 Thread Bridger Dyson-Smith
Hi Joe, thanks for the response. I'll explore moving the XPath checks and see where that gets me. Appreciatively, Bridger On Fri, Feb 16, 2018 at 11:01 AM, Joe Wicentowski wrote: > Hi Bridger, > > To be able to treat your field elements differently based on their @name, >

Re: [xquery-talk] Help understanding typeswitch-based Identity Transform

2018-02-16 Thread Joe Wicentowski
Hi Bridger, To be able to treat your field elements differently based on their @name, you'd have to add some conditional logic to the return clause of your "element(field)" case. You could place this logic right in local:dispatch, or you could create a new function, like local:field, which would