zdennis wrote: > David posted this message on ruby-talk ML. > > ----------------------------------------------------------------------- > Is there a Ruby XML parser that includes the file name and line number > for elements? > ----------------------------------------------------------------------- > > Does libxml doesn't this natively? Is this something we can easily wrap > in ruby-libxml?
Sweet, looks like it already does. Dave posted... libxml is sweet =) Thanks Ross and Sean, you guys rock! -------------------------------------------------------------- Zach, Yep... libxml does the trick with: XML::Parser.default_line_numbers = true ... element.line_number element.doc.filename Thanks, David _______________________________________________ libxml-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/libxml-devel
