I was wondering if XPath could return an array of value.

I have someting like this :

<Cities>
    <City>Paris</City>
    <City>Lyon</City>
    <City>Marseille</City>
</Cities>

And I'd like to get an array of this form ['Paris', 'Lyon', 'Marseille'].

I am using the xpath UNIX utility.

Any idea ?

Edit
Report