London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
You have the GetLanguages method that returns a collection of the languages, but not sure if that is what you want.. You can just parse the XML document with Linq to XML or XmlDocument etc.
Thanks anyways.
I just created a new child node called <languagetitle>United States</languagetitle> instead. It was easier, and I couldn't find a solution to reading the name attribute.
Ok this seems like a silly question, but how do you access the "name" attribute in the language node?
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<languages>
<language name="English" id="en">
<document>
<download>Download:</download>
</document>
I know you can do Translate("/document") OR <asp:Literal runat="server" Text="<%$ Resources: EPiServer, document %>" />, but how would I get just the attribute, instead of a child node? Seems like it would be something simple.
Thanks,
Christine