A
ayqazi
Hi,
I've been previously using things like:
stuff = infdata.elements["domain:contact[@type='admin']"].text
quite heavily.
Upgrading to ruby 1.8.6 make this return a blank string.
I'm using Gentoo's ruby ebuild, which I assume would patch any bugs,
so I'm guessing there's a new way to do it.
Anybody know how I can search for a sub-element with a particular
attribute value as above in ruby 1.8.6's REXML?
Thanks
I've been previously using things like:
stuff = infdata.elements["domain:contact[@type='admin']"].text
quite heavily.
Upgrading to ruby 1.8.6 make this return a blank string.
I'm using Gentoo's ruby ebuild, which I assume would patch any bugs,
so I'm guessing there's a new way to do it.
Anybody know how I can search for a sub-element with a particular
attribute value as above in ruby 1.8.6's REXML?
Thanks