You can not. But if it is in a microflow, you can create a variable based on the constant and use this variable in your xpath.
You might have to park your constant in a variable for this
In Xpath you can't directly. If you want to use it in a retrieve in a microflow you could create a variable with the constant and use the variable in your xpath.
Thank your for your fast and valid answers.