Hey guyz,

my problem: I want to read a XML file and get the text of a node. But my VS2008 gives me an error and i don't know how to handle it.

This is my function
Code:
        /// <summary>
        /// Liest den Namen eines Templates.
        /// </summary>
        /// <param name="p_strFile"></param>
        /// <returns></returns>
        public string ReadTemplateDetailsName(string p_strFile)
        {
            string l_erg = "";
 
            if (File.Exists(p_strFile))
            {
 
                XmlDocument l_xmlDoc = new XmlDocument();
                l_xmlDoc.Load(p_strFile);
                XmlNode node = l_xmlDoc.SelectSingleNode("/name");
                l_erg = node.InnerText;
            }
 
            return l_erg;
        }
This is the beginning of my XML file
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 1.5//DTD template 1.0//EN" "http://dev.joomla.org/xml/1.5/template-install.dtd">
<install version="1.5" type="template">
    <name>themza_j15_74</name>
    <version>1.0.0</version>
    <creationDate>2011-03-29</creationDate>
    <author>Themza Team</author>
And this is my error:
Code:
 the remote name could not be resolved: 'dev.joomla.org'
How to handle this exception?