From: Martin DeMello Date: 2004-07-22T00:27:03+09:00 Subject: XML line numbers I'm using the REXML stream parser to read in an xml file and check the attributes as I go. If a check fails, I want to print out the line number in the XML file that contains the offending element - is that possible? e.g. I want to print out "value of attribute 'baz' should be between 1 and 3 in line 3" martin