Announcement

Collapse
No announcement yet.

XPath: count number of nodes in json feed

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • XPath: count number of nodes in json feed

    Hi,

    I'm creating a custom xml plugin to read data from feed streamer.

    I need the number of results per node. I'm using count() expression and I can't get a number of records back yet.

    Does anyone has another option since this one is not working.

    Expression below is not returning the number of "results" nodes in the xml which should be 10
    {count(//data/*results)}

    Any options or idea would be great.

    Thanks,
    Charlotte
    Attached Files
Working...
X