title: getting the current position from an XmlReader
body: <p>Is there a way to get the current position in the stream of the node under examination by the XmlReader?</p>
  
  <p>I'd like to use the XmlReader to parse a document and save the position of certain elements so that I can seek to them later.</p>
  
  <p>Addendum:</p>
  
  <p>I'm getting Xaml generated by a WPF control.  The Xaml should not change frequently.  There are placeholders in the Xaml where I need to replace items, sometimes looping.  I thought it might be easier to do in code rather than a transform (I might be wrong about this).  My idea was to parse it to a simple data structure of what needs to be replace and where it is, then use a StringBuilder to produce the final output by copying chunks from the xaml string.</p>