title: Is it possible to get line numbers/positions from a System.Xml.XmlNode when working with a System.Xml.XmlDocument?
body: <p>The title says it all...</p>
  
  <p>Is it possible to get line numbers/positions from a <code>System.Xml.XmlNode</code> when working with a <code>System.Xml.XmlDocument</code>?</p>
  
  <p>I want the information so that I can inform the user of where they need to look in their Xml file for specific pieces of information.  I've seen similar questions relating to an <code>XmlReader</code> on SO but nothing that actually answers my question.</p>
  
  <p>I guess I could search the xml file for the <code>OuterXml</code> of the node that I'm interested in, but that seems hacky, and what if that information appears in the file more than once?  There must be a better way?</p>
  
  <p><strong>Update:</strong>
  I'm loading my xml file using:</p>
  
  <pre><code>xmlDoc = new XmlDocument();
  xmlDoc.PreserveWhitespace = true;
  xmlDoc.Load(filename);
  </code></pre>