Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Hi
Try Translate("/countryselector/country[@name=\"UnitedStates\"]/text");
Regards
Per Gunsarfs
EPiServer Development Team
Normally, when you need to retrieve values from relatePlusEN.xml, you use Translate
string value = Translate("/login/currentuser");
But what if I have this entry:
How can I get the text value for the UnitedStates country?
I tried Translate("/countryselector/country name=\"UnitedStates\"/text"); but it didn't work. It just returned missing value.