var = doc.css('div[@style='style']')
puts var.search "//h2/a"
end
--
You received this message because you are subscribed to the Google Groups "nokogiri-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nokogiri-talk+unsubscribe@googlegroups.com.
To post to this group, send email to nokogi...@googlegroups.com.
Visit this group at https://groups.google.com/group/nokogiri-talk.
For more options, visit https://groups.google.com/d/optout.
<div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.5pt;padding:0cm 0cm 1.0pt 0cm'>
Hi,Thanks for asking this question.Can you please show us the HTML you're parsing, and the desired result of your search? Then people may be able to provide more specific and useful advice.Cheers,-m
On Tue, Jun 6, 2017 at 11:23 AM, Arlantir <arlan...@gmail.com> wrote:
Hi,How can I write a style, tried to do this, but the code does not work?
var = doc.css('div[@style='style']')
puts var.search "//h2/a"
end
--
You received this message because you are subscribed to the Google Groups "nokogiri-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nokogiri-tal...@googlegroups.com.
doc.css("div[style='style']")