SyntaxFix
Write A Post
Hire A Developer
Questions
You can't use it from the XML.
You need to extend the widget you are using in the XML and add the logic to set the text using what's mentioned on Konstantin Burov's answer.