I srsly hate windows. it doesn‘t have vasprintf. Thank you Geoffroy Couprie for this implementation of vasprintf!
VERSION | = | '1.4.1' | The version of Nokogiri you are using | |
VERSION_INFO | = | {} | More complete version information about libxml |
Parse HTML. Convenience method for Nokogiri::HTML::Document.parse
Parse a document and add the Slop decorator. The Slop decorator implements method_missing such that methods may be used instead of CSS or XPath. For example:
doc = Nokogiri::Slop(<<-eohtml) <html> <body> <p>first</p> <p>second</p> </body> </html> eohtml assert_equal('second', doc.html.body.p[1].text)
Parse XML. Convenience method for Nokogiri::XML::Document.parse
Create a Nokogiri::XSLT::Stylesheet with stylesheet.
Example:
xslt = Nokogiri::XSLT(File.read(ARGV[0]))