Hello In an oracle table, I hava a field of CLOB type (named "VXML"). This column have a XML text and i would like to parse it to extract several informations. In ruby when i access to this column, and for exemple, i put is value on a page, I dont have the column in XML format. I only have the values of the XML. Exemple: <td class="tform_rubrique_value_cons"><%=@demand.vxml%></td> => peter xxx 69771704222 alone whatever bicycle motogp cd1 Luxembourg Luxembourg FR ES 5372826865 h@gmail.com other Suzuki 400 775111 Fazer 600 whatever fzs6 Carvalho 24081004333 fille no yes no Is there any method to get the column has an XML to parse it and get the needed information? Thanks regards -- Posted via http://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Paulo, You can check the link http://lists.rubyonrails.org/pipermail/rails/2006-March/023178.html to find the answer. On Sep 21, 5:37 pm, Paulo Carvalho <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hello > > In an oracle table, I hava a field of CLOB type (named "VXML"). > This column have a XML text and i would like to parse it to extract > several informations. > In ruby when i access to this column, and for exemple, i put is value on > a page, I dont have the column in XML format. I only have the values of > the XML. > Exemple: > > <td class="tform_rubrique_value_cons"><%...@demand.vxml%></td> > > => > > peter xxx 69771704222 alone whatever bicycle motogp cd1 > Luxembourg Luxembourg FR ES 5372826865 h...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org other > Suzuki 400 775111 Fazer 600 whatever fzs6 Carvalho > 24081004333 fille no yes no > > Is there any method to get the column has an XML to parse it and get the > needed information? > > Thanks > > regards > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I solved my problem. Thanks lianliming wrote:> Hi Paulo, > > You can check the link > http://lists.rubyonrails.org/pipermail/rails/2006-March/023178.html > to find the answer. > > On Sep 21, 5:37 pm, Paulo Carvalho <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>-- Posted via http://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---