Closed rhka closed 12 years ago
<list> <item>example1</item> <item>example2</item> <item>example3</item> <item>example4</item> </list>
When am executing the following scripts, it returns only one value. Anyone can help ?
Jath.parse(["//list",{ name : 'item' }],data);
You will need to use collection template syntax over the item tag.
Try something like this.
Jath.parse(["//item",{ name : '.' }],data);
Thanks a lot. It's working fine now.
When am executing the following scripts, it returns only one value. Anyone can help ?
Jath.parse(["//list",{ name : 'item' }],data);