サクサク読めて、アプリ限定の機能も多数!
“xsl = Nokogiri::XSLT(File.open("pretty_print.xsl")) html = Nokogiri(File.open("source.html")) puts xsl.apply_to(html).to_s”
kent-where-the-light-is のブックマーク 2016/12/30 16:27
How do I pretty-print HTML with Nokogiri?“xsl = Nokogiri::XSLT(File.open("pretty_print.xsl")) html = Nokogiri(File.open("source.html")) puts xsl.apply_to(html).to_s”2016/12/30 16:27
“xsl = Nokogiri::XSLT(File.open("pretty_print.xsl")) html = Nokogiri(File.open("source.html")) puts xsl.apply_to(html).to_s”
このブックマークにはスターがありません。 最初のスターをつけてみよう!
stackoverflow.com2013/05/01
I wrote a web crawler in Ruby and I'm using Nokogiri::HTML to parse the page. I need to print the page out and while messing around in IRB I noticed a pretty_print method. However it takes a parame...
2 人がブックマーク・2 件のコメント
\ コメントが サクサク読める アプリです /
“xsl = Nokogiri::XSLT(File.open("pretty_print.xsl")) html = Nokogiri(File.open("source.html")) puts xsl.apply_to(html).to_s”
このブックマークにはスターがありません。
最初のスターをつけてみよう!
How do I pretty-print HTML with Nokogiri?
I wrote a web crawler in Ruby and I'm using Nokogiri::HTML to parse the page. I need to print the page out and while messing around in IRB I noticed a pretty_print method. However it takes a parame...
2 人がブックマーク・2 件のコメント
\ コメントが サクサク読める アプリです /