title: XmlDocument file name with space
body: <p>I have XML file that contains services names in windows7, one of the services has white space i.e "service name" I get exception when I load the file:</p>
  
  <pre><code>fileName = file;
  pathToFile = path;
  XmlDocument ServerList = new XmlDocument();            
  ServerList.Load(pathToFile + fileName);
  </code></pre>
  
  <p>the XML:</p>
  
  <pre><code>&lt;systems&gt;
   &lt;Groups&gt;
    &lt;Myervices&gt;    
       &lt;Dialogic/&gt;
       &lt;BoardServer/&gt;
       &lt;HmpElements/&gt;
       &lt;Service-1 Agent/&gt;
     &lt;/Myervices&gt;
   &lt;/Groups&gt;
  &lt;/systems&gt;
  </code></pre>
  
  <p>the filenName has the white space, is there a way to receive it cause I cannot change the service name.</p>
  
  <p>the exception I get:</p>
  
  <blockquote>
    <p>'/' is an unexpected token. The expected token is '='. Line 824,
    position 23. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at
    System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at
    System.Xml.XmlTextReaderImpl.ThrowUnexpectedToken(String
    expectedToken1, String expectedToken2) at
    System.Xml.XmlTextReaderImpl.ParseAttributes() at
    System.Xml.XmlTextReaderImpl.ParseElement() at
    System.Xml.XmlTextReaderImpl.ParseElementContent() at
    System.Xml.XmlTextReaderImpl.Read() at
    System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at
    System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at
    System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean
    preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader)
    at System.Xml.XmlDocument.Load(String filename) at
    Stop_Start_systems.Functions..ctor(String path, String file) in
    c:\Stop_Start_systems\Functions.cs:line 32 at
    Stop_Start_systems.Default.Page_Load(Object sender, EventArgs e) in
    c:\Stop_Start_systems\Default.aspx.cs:line 31
    System.Collections.ListDictionaryInterna Thanks</p>
  </blockquote>