Expand my Community achievements bar.

SOLVED

Assigning to list of xml?

Avatar

Level 3

How do you assign to a variable of type list<XML>? The only information I find on lists is how to access the data. Some examples would be nice. :-)

1 Accepted Solution

Avatar

Correct answer by
Level 7
Hi, I had a quick go and couldn't get this to work. Are you able to use a map instead of list? They can be assigned to something like variable[@id="process variable"] I've used this inside a loop before to get a map of documents, might work for you to.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 7
Hi, I had a quick go and couldn't get this to work. Are you able to use a map instead of list? They can be assigned to something like variable[@id="process variable"] I've used this inside a loop before to get a map of documents, might work for you to.

Avatar

Level 3

Thanks. I didn't Think about that. I'll try that later. For now I managed to rearange so that I don't need the list, and use the source document to pull data from.