Re: [Dev] Transform an xml with payload factory and xpath

2016-11-02 Thread Jagath Sisirakumara Ariyarathne
Hi Bhathiya, If the number of elements are static, we can use below config. http://service.ws.um.carbon.wso2.org;> $1 $2 http://service.ws.um.carbon.wso2.org"/> http://service.ws.um.carbon.wso2.org"/> Otherwise you

Re: [Dev] Transform an xml with payload factory and xpath

2016-11-01 Thread Bhathiya Jayasekara
Hi Jagath, Thanks for the reply. The number of elements are dynamic. I'll go with XSLT then. Thanks, Bhathiya On Wed, Nov 2, 2016 at 9:46 AM, Jagath Sisirakumara Ariyarathne < jaga...@wso2.com> wrote: > Hi Bhathiya, > > If the number of elements are static, we can use below config. > > >

[Dev] Transform an xml with payload factory and xpath

2016-10-30 Thread Bhathiya Jayasekara
Hi devs, I have below XML in the message context. http://schemas.xmlsoap.org/soap/envelope/;> <*ns:getUserListOfRoleResponse* xmlns:ns=" http://service.ws.um.carbon.wso2.org;> usersx doctor Is it possible to transform this to below one, just with a