How to get all values in a list of objects with xpath?

greenrain

New Member
How can I get the name of all accounts with xpath?The following expression does only return the first accounts name:\[code\]XPathExpression fax = xpath.compile("/accounts/account/name")<accounts><account><name>Johndoe1<name><account><account><name>Johndoe2<name><account></account>\[/code\]
 
Back
Top