Forum

How to get count() of spreads?

Hi,

How can I get the number of spreads?

I have XPath query on a XML file and I want to know how many nodes are returned by the query. Is there a way to get a COUNT of output spreads?

An alternative would be to create another XPath query which returns the count(). but I can’t seem to figure out how to make it work. The query to count is “count(images/image)” but it doesn’t work.

Thanks!

Nuno

i am not really clear if i understood you correctly, but to get the COUNT of a string spread, use the Count (String) node.

Perfect! Problem solved. So simple. I’m still really dumb in vvvv. I started today :-P

Thanks!
Nuno