Joshua Muheim wrote: >> Do you really want to do it this way? Why not do an XPath query that >> selects and processes all <a>, then another one for all <p>? > > Yes, maybe you're right, this could work as good. But I'm a bit insecure > with the conecpt behind Nogokiri - when I iterate over elements of a DOM > and apply changes to them, are they altered within this DOM? I suppose > so... And how can I save the DOM back to HTML?
I don't know. Why don't you read the docs, experiment, and/or ask on the Nokogiri discussion forums? > > Thanks a lot for help > Josh Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- 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 [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 -~----------~----~----~----~------~----~------~--~---

