------art_31669_11462013.1145634364036
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Zach,

Yep... libxml does the trick with:
XML::Parser.default_line_numbers = true
...


element.line_number
element.doc.filename

Thanks,

David

On 4/21/06, zdennis <zdennis / mktec.com> wrote:
>
> David Pollak wrote:
> > It is possible with a SAX parser in Java, but the SAX parser in rexml
> does
> > not include file/line information in the "PullEvent" as far as I can
> tell.
> >
> > I guess rexml is the only XML parser currently under development for
> ruby.
> >
>
> No, ruby-libxml is in development. I know because I am an active
> "talker" on the ruby-libxml mailing list.
>
>    http://rubyforge.org/projects/libxml/
>
> I switched from REXML to libxml because libxml is blazing fast.
>
> Zach
>
>

------art_31669_11462013.1145634364036--