title: Using PHP's XMLReader, how do I get the line number of the current node?
body: <p>Using the XMLReader XML parser in PHP 5.3, I need to get the line number of the current node. A column number or total offset from the beginning of the file would be nice, too. </p>
  
  <p>Hopefully I don't have to use some hack like parsing every raw node string for newlines (with <code>readOuterXML()</code>), but I don't see a <code>getLineNo()</code> property like in the DOM... </p>