Hi Esam,
The expression would be `/json/phoneNumbers/_[type = 'home']`, and then I
imagine you could use `number` for both the label and value in the dropdown.
xpath.png <
http://discuss.orbeon.com/file/t119778/xpath.png>
BTW, you can see that the structure of the XML that corresponds to your JSON
is by going to the HTTP Service Editor dialog, after entering the URL for
your service hitting Test, and then going to the Test Results / XML Response
Body tab. You'll let me know if this works for you.
http-service-editor.png
<
http://discuss.orbeon.com/file/t119778/http-service-editor.png>
‑Alex
-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet