title: XmlException for the '/' character hex value 0x2F cannot be included in a name
body: <p>How can I solve the exception generated?</p>
  
  <pre><code>        public static string[] getKeywords(string filename)  
          {  
              var xmlFile = new XElement(filename);  
              string[] keywords = xmlFile.Elements("Keyword")
                                         .Attributes("name")
                                         .Select(n =&gt; n.Value).ToArray();  
              return keywords;  
          } 
  </code></pre>
  
  <p>This generates this exception:</p>
  
  <blockquote>
    <p>System.Xml.XmlException was unhandled
      Message=The '/' character, hexadecimal value 0x2F, cannot be included in a name.
      Source=System.Xml</p>
  </blockquote>