Hi All,
I am using an XPATH expression as follows,
sequence xmlns=http://ws.apache.org/ns/synapse; name=sequence1
log level=custom
property xmlns:ns=http://org.apache.synapse/xsd;
xmlns:fn=http://www.w3.org/2005/xpath-functions; name=insq
expression=fn:string-join('name','age', '-')/
Hi Sohani,
May be your expression syntax is incorrect. Is it works when it change like
expression=fn:string-join(('name','age'), '-').I'm referring to [1].
[1]-http://www.xqueryfunctions.com/xq/fn_string-join.html
THanks,
Harsha
On Tue, Jun 3, 2014 at 1:36 PM, Sohani Weerasinghe soh...@wso2.com
Hi Harsha,
I tried that as well, but it is not supporting in ESB as i mentioned
previously.
Thanks,
Sohani
Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com
Mobile : +94 716439774
Blog :http://christinetechtips.blogspot.com/
Twitter : https://twitter.com/sohanichristine
Hi Sohani,
Since 'string-join' is a XPath 2.0 function, It seems you have to enable
xpath 2.0 support in ESB [1]
Thanks,
Viraj.
[1]
http://mytecheye.blogspot.com/2013/01/wso2-esb-enable-xpath-20-in-wso2-esb.html
On Tue, Jun 3, 2014 at 2:20 PM, Sohani Weerasinghe soh...@wso2.com wrote:
Hi
Sorry I didn't noticed it before. You will needs to enable xpath 2.0
support as suggest by Viraj. Otherwise you should be able to use string
concat function in xpath 1.0.
On Tue, Jun 3, 2014 at 2:38 PM, Viraj Rajaguru vi...@wso2.com wrote:
Hi Sohani,
Since 'string-join' is a XPath 2.0