With the assumption that you desire a list of values, I created the below example that uses the Get Text
keyword but can easily be adapted to suit your needs:
*** Settings ***
Library SeleniumLibrary
Library Collections
*** Test Cases ***
Get Multiple Element Values
Open Browser https://www.w3schools.com/default.asp chrome
@{webelements} Get WebElements xpath://a[@class='w3-bar-item w3-button']
@{webelements_text} Create List
:FOR ${webelement} IN @{webelements}
${text} Get Text ${webelement}
Append To List ${webelements_text} ${text}
Log List ${webelements_text}
[Teardown] Close Browser