Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
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.