Hi Im trying to create some xml output with my own module.
And I want to know how to get the language-specific text of a Product.
foreach (Product product in group.Products)
{
XmlElement headerNode = productXML.CreateElement("Header");
//here I need to get the name in the specific language
headerNode.InnerText = product.Name;
productNode.AppendChild(headerNode);
}
Is this approach totally wrong?
- Sune