From: Peter Fitzgibbons Date: 2005-10-22T03:39:41+09:00 Subject: Re: REXML::XPath results out of sort order ? ------=_Part_3099_19942736.1129919978851 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/21/05, Peter Fitzgibbons wrote: > > > > 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\___te= st.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 > > Oh, yes, I'm using 3.1.3. So what's different then ? ------=_Part_3099_19942736.1129919978851--