-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

zdennis wrote:
> 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..

Wait Dave posted the below message.


. libxml is sweet =)
> Thanks Ross and Sean, you guys rock!

This is my personal opinion.

I got mixed up when typing that email.

Zach

> 
> --------------------------------------------------------------
> 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFESSZAMyx0fW1d8G0RAgiiAJ4lddBM+ThbuDJx3SUHR5yzPc/xwQCfXIEn
NQb4ZKLDYDUyKaTXpHQfW4A=
=s1Tc
-----END PGP SIGNATURE-----
_______________________________________________
libxml-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to