On Monday, October 8, 2018 at 9:25:13 AM UTC-4, Colin Law wrote:
>
> Why have you posted the same question twice?
>
> On Mon, 8 Oct 2018 at 12:13, fugee ohu >
> wrote:
>
>> This code isn't right I'm trying to find
>> pry(main)> rows=list.css("li .some-class")
>>
>> list above is a valid object
Why have you posted the same question twice?
On Mon, 8 Oct 2018 at 12:13, fugee ohu wrote:
> This code isn't right I'm trying to find
> pry(main)> rows=list.css("li .some-class")
>
> list above is a valid object already created on a preceeding line
>
> --
> You received this message because yo
This code isn't right I'm trying to find
pry(main)> rows=list.css("li .some-class")
list above is a valid object already created on a preceeding line
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and st
When I run this in rails console it stops and returns a colon prompt
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-talk+unsubscr...@googlegr
I'm building an app in rails using Nokogiri .. I used *puts
documents.css("._Ak cite").length *and I get the exact length I want but
when I tried the id part of the of this* puts documents.css("div#mbEnd >
cite").length *I didn't get the exact, makes 0 length.
I don't know why nokogiri not rec
On 25 March 2015 at 01:20, wrote:
> I was wondering what you recommended for Rails as it relates to working on
> Windows / present configuration recommendations for Windows? Use the older
> version for now? Run it without DevKit / SQLite, etc.? See the below:
My recommendation would be to not wo
I was wondering what you recommended for Rails as it relates to working on
Windows / present configuration recommendations for Windows? Use the older
version for now? Run it without DevKit / SQLite, etc.? See the below:
http://stackoverflow.com/questions/2806/require-cannot-load-such-file-no
I posted a question on stackoverflow but it hasnt been much help:
http://stackoverflow.com/questions/24441580/cannot-bundle-install-nokogiri-error-ror-tutorial?noredirect=1#comment3782_24441580
I also followed the homebrew instructions to get libiconv. I have it
downloaded and installed but
Hi,
Today morning my target is going through the `
Nokogiri::XML::AttributeDecl` methods. So I wrote some simple codes to
understand these methods:
require 'nokogiri'
doc = Nokogiri::XML::Document.new # =>
#
attdcl = Nokogiri::XML::AttributeDecl.new('bar',doc) # =>
#">
attdcl.enumeration # => [
Hi,
I am not able to find out a simple example to find out the how the
method works:
> Nokogiri::XML::EntityReference::new
(http://nokogiri.org/Nokogiri/XML/EntityReference.html#method-c-new)
> Nokogiri::XML::Document#canonicalize
(http://nokogiri.org/Nokogiri/XML/Document.html#method-i-canonic
On Sat, Jun 1, 2013 at 12:33 AM, Love U Ruby wrote:
> p doc.css("input:disabled").count
> Why the errors are throwing up?
What makes you think that's valid syntax?
--
Hassan Schroeder hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
--
You
doc = Nokogiri::HTML::Document.parse(<<-eohtml)
http://code.jquery.com/jquery-1.9.1.js";>
eohtml
p doc.css("input:disabled").count
# >> 2
# ~>
/home/kirti/.rvm/gems/ruby-2.0.0-p0/gems/nokogiri-1.5.9/lib/nokogiri/xml/node.rb:159:in
`evaluate': xmlXPathCompOpEval: function disabled no
Hi All,
I am using nokogiri gem(1.4.1) for xsd validation, it works well in my
local machine and doesn't in my server, it didn't validate some of the xml
tags can anybody help, below is my code.
inut_xml=request.raw_post
errors =[]
xsd =
Nokogiri::XML::Schema(File.re
On Fri, Aug 26, 2011 at 9:06 AM, Keith Raymond wrote:
> I recently was pointed towards the Nokogiri gem recently to find all
> html elements with a particular class, rather than attempting my own
> regular expression.
> It works perfectly on my local machine, (Lion OS X and passenger), but
> whe
Hello all,
I recently was pointed towards the Nokogiri gem recently to find all
html elements with a particular class, rather than attempting my own
regular expression. (Thanks John-John Tedro and Hassan Schroeder)
It works perfectly on my local machine, (Lion OS X and passenger), but
when I
Hi all,
I need to include externel javascript and stylesheets into html
using nokogiri anyone plz tell me the syntax for the same.
--
*Thanks & Regards,*
*RAFI,*
*
*
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
T
Cant seem to find an answer to this on google:
If I have this value as the text within an attribute in my xml source:
"a2/PP00nFwWa7I8Jog7bcw==\n"
When I ask Nokogiri to return it, why does it return this:
"a2/PP00nFwWa7I8Jog7bcw== " (the last character I confirmed in the debugger
as a space char
Hello,
I'm trying to use nokogiri gem to parse individual xhtml tags (not the
whole html document) and preform some processing on them.
Heres an example of a string that I want to process:
str = 'http://www.canadascapital.gc.ca/data/2/rec_imgs/5005_Pepsi_H1NB.gif"/>
some texttest '
The fol
Hi all
n = Nokogiri::HTML("H1")
n.to_s
# => http://www.w3.org/TR/REC-html40/loose.dtd\";>\nH1
Is there a method that only outputs the stuff I've read, and not the
whole valid XHTML stuff?
Needed output:
H1
Thanks a lot
Josh
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~--
19 matches
Mail list logo