Forum Discussion
mohbubur_rahman
17 years agoContributor
This is from the property Transfer action.
declare namespace tim='http://www.reuters.com/ns/2007/10/25/webservices/TimeSeriesForCommonPlatform_1';
//tim:TimeSeries_1_Response[1]/CachingBlock[1]//ChunkName[1]
I am now trying to use a groovy script to start from 1 until that xpath returns a empty string.
def response2 = context.expand( '${GetTimeSeries_1 - Request 1#Response#//CachingBlock[1]/CachingEntry[1]/ChunkName[1]}' )
So replacing CachingEntry[n], buty having problems with putting this is an string due the # value.
declare namespace tim='http://www.reuters.com/ns/2007/10/25/webservices/TimeSeriesForCommonPlatform_1';
//tim:TimeSeries_1_Response[1]/CachingBlock[1]//ChunkName[1]
I am now trying to use a groovy script to start from 1 until that xpath returns a empty string.
def response2 = context.expand( '${GetTimeSeries_1 - Request 1#Response#//CachingBlock[1]/CachingEntry[1]/ChunkName[1]}' )
So replacing CachingEntry[n], buty having problems with putting this is an string due the # value.
Related Content
- 10 years ago
Recent Discussions
- 15 years ago