The thing, i want to do ,is to obtain set of xml-files (or/and their
direct paths and names) from some ContentsSpace folder.What am I doing
: I'm creating GetSpaceContents opeation and receive list<CRCResult>
variable. The question is :1. how should I obtain (what functions ,
using xpath or smth. else) the file directly and its attributes (such as
path, name)?
2. Can we access to each of the CRCResult variable in the list (
mylist[1], for example)?It didn't work out in my case.If we can't , why?
How should we produce that?
Thanks in advance.
Views
Replies
Total Likes
Inline.
From a variable of type CRCResult one can use xpath to get the file directly, its attributes etc.
Access File Contents:-
/process_data/CRCResultVar/object/@document
Access File Attributes:-
/process_data/CRCResultVar/object/attributeMap
Yes we can do that using following xpath notation:-
/process_data/myList[1]
For more details please see the following snapshots of the sample process:-
1. getSpaceContents(): Method gets the contents from space and stores them as a List of CRCResult object. (e.g. outputList<CRCResult>)
2. execute(): Operation performs following steps:-
Hope that answers your question well.
Views
Replies
Total Likes
Thx a lot. This is exactly , what i need.
Views
Replies
Total Likes