Never parsed XML in Ruby before but running a Google search on 'parsing xml in ruby' brought up tons of links.
In any case the second document is malformed. The closing tag for 'last' is 'ape', which might give you problems. On Mar 26, 3:52 pm, Jorge alejandro Mendoza torres <li...@ruby- forum.com> wrote: > There are mistakes in the first xml source, here is the good source: > > > <?xml version="1.0" encoding="UTF-8" standalone="yes"?> > > <fichas> > > <ficha> > > <first>Gabriel</first> > > <last>Molina</last> > > <dirs>Alfredo Vargas #36</dirs> > > </ficha> > > <ficha> > > <first>Jorge</first> > > <last>Mendoza</last> > > <dirs>Alguna de por ahi #12</dirs> > > </ficha> > > </fichas> > > ------------------------------------------------------- > > Can Anybody help me? > > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

