I''m pretty new to Ruby and Rails so I apologize if this has always been discussed here. I''m trying to figure out how to open an xml document and work with the data, specifically using XPath statements. I wasn''t really successful looking for info on how to do this. Are there any built-in classes (Ruby and/or Rails) that I can read up on? If not, what about third party parsers? Thanks in advance! Kyle Heon kheon-Wuw85uim5zDR7s880joybQ@public.gmane.org _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
I''m pretty new to Ruby and Rails so I apologize if this has always been discussed here. I''m trying to figure out how to open an xml document and work with the data, specifically using XPath statements. I wasn''t really successful looking for info on how to do this. Are there any built-in classes (Ruby and/or Rails) that I can read up on? If not, what about third party parsers? Thanks in advance! Kyle Heon kheon@comcast.net
ReXML in the standard library should do the trick.. http://www.ruby-doc.org/stdlib/ aw On 6/25/05, Kyle Heon <kheon-Wuw85uim5zDR7s880joybQ@public.gmane.org> wrote:> > > I''m pretty new to Ruby and Rails so I apologize if this has always been > discussed here. > > I''m trying to figure out how to open an xml document and work with the data, > specifically using XPath statements. > > I wasn''t really successful looking for info on how to do this. Are there any > built-in classes (Ruby and/or Rails) that I can read up on? If not, what > about third party parsers? > > Thanks in advance! > > Kyle Heon > kheon-Wuw85uim5zDR7s880joybQ@public.gmane.org > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >
On 6/26/05, Kyle Heon <kheon-Wuw85uim5zDR7s880joybQ@public.gmane.org> wrote:> > > I''m pretty new to Ruby and Rails so I apologize if this has always been > discussed here. > > I''m trying to figure out how to open an xml document and work with the data, > specifically using XPath statements. > > I wasn''t really successful looking for info on how to do this. Are there any > built-in classes (Ruby and/or Rails) that I can read up on? If not, what > about third party parsers? > > Thanks in advance!rexml is pretty good, has good tutorials too> Kyle Heon > kheon-Wuw85uim5zDR7s880joybQ@public.gmane.org > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- Cheers Koz