From: Peter Fitzgibbons Date: 2005-10-22T03:37:59+09:00 Subject: Re: REXML::XPath results out of sort order ? ------=_Part_3059_26451485.1129919876261 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/21/05, daz wrote: > > > Peter Fitzgibbons wrote: > > > > You have to File.open the file... Document.new doesn't know how to open > >the stream.. only how to read it. > > > > please try : > > > > xml =3D REXML::Document.new(File.open('D:\ruby\DfB\TEMP\clruby\___test.= xml') > ) > > > Gosh, that makes *such* a difference :)) > > I would have known that if I was doing it myself. > > > Version 3.1.3 gives the correct result: > > p mi[0].elements['MsMilestoneId'].text #-> "10" > > > daz > > > > > How do I find my current REXML version ? I'm using the default lib installed with one-click 1.8.15 ------=_Part_3059_26451485.1129919876261--