title: Using underscore and period with XPath
body: <p>I need to select a node which has attribute <code>name</code> as <code>_1.1.1</code></p>
  
  <p>I am trying to select the node as</p>
  
  <pre><code>XmlNamespaceManager nsmgr = new XmlNamespaceManager(xmlDoc.NameTable);
  nsmgr.AddNamespace("IKS", "http://schemas.microsoft.com/wix/2006/objects");    
  XmlNode xRootNode = xmlDoc.SelectSingleNode("//folder[@name='Global']");
  </code></pre>
  
  <p>But it doesn't return any. I'm sure its because of the special characters in my expression. How should I handle it to get the desired node?</p>
  
  <p><strong>EDIT</strong>: I access node as</p>
  
  <pre><code>XmlNamespaceManager nsmgr = new XmlNamespaceManager(xmlDoc.NameTable);
  nsmgr.AddNamespace("IKS", "http://schemas.microsoft.com/wix/2006/objects");    
  XmlNode xRootNode = xmlDoc.SelectSingleNode("//folder[@name='Global']", nsmgr);
  </code></pre>
  
  <p>and the XML is </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;workplace xmlns='IKS:'&gt;
    &lt;cabinet name='Groups%20and%20Departments' oid='_1.25.18'&gt;
      &lt;folder name='Global' oid='_1.11.9882'&gt;&lt;/folder&gt;
    &lt;/cabinet&gt;
  &lt;/workplace&gt;
  </code></pre>