ruby Developr ™
Online archive of ruby developer related lists
Nokogiri-talk topics
| Thread | Replies | Last post by | Updated on |
|---|---|---|---|
| Build huge xml document
...Hello,
I need a build a huge xml document, that is larger that available
memory. Does nokogiri library help me do it?
I am expecting a stream builder like
http://docs.oracle.com/javase/6/docs/api/...
|
3 | arufanov | 2012-Feb-24 18:02 |
| Basic Question: Parsing XML to Text
...Hi - I'm new to Nokogiri and only an amateur ruby programmer. I'm
trying to write a script that will parse a lengthy XML document into a
text document without the tags. It's the output of a blog that ...
|
5 | Larry V. | 2012-Feb-23 19:02 |
| How to get path of an object, given its value?
...First of all, thanks for the tutorials.
http://nokogiri.org/tutorials
http://www.engineyard.com/blog/2010/getting-started-with-nokogiri/
All the examples above are to get value of an object, given it...
|
2 | Etlo | 2012-Feb-23 17:02 |
| Roadmap and Encoding
...Ahoi all,
I just read the new roadmap on the github repository and saw this
regarding encoding:
"We have a lot of issues open around encoding. Is this really an issue?
Somebody who knows something...
|
3 | Jeffrey Jones | 2012-Feb-21 17:02 |
| Unexpected Output from Fresh Install
...Dear Friends,
I'm not sure I have installed Nokogiri properly and would appreciate
any help anyone can give (Mac OS X 10.7.3, Ruby 1.9.3 via RVM).
This is what I did: I installed Homebrew 0.8.1 and ...
|
1 | Chong-Yee Khoo | 2012-Feb-21 17:02 |
| C coding style
...Hey folks,
I know it's MRI style, but the mixed tabs and spaces in the C code is
killing me. We should use two indent, no tabs, just like the Ruby
code. I'm updating the style guides to reflect tha...
|
5 | Aaron Patterson | 2012-Feb-20 20:02 |
| xml_schema.c error
...Hi,
I'm trying to build nokogiri while linking to libxml2 and libxslt
(both of these built from source). I'm getting the following error
output:
sudo /opt/aspera/common/ruby/bin/gem install nokogiri...
|
2 | jonyen | 2012-Feb-20 17:02 |
| Change the name of the Nokogiri root element
...Hi
I'm sort of new to this XML stuff and maybe I haven't grokked the
basics , but here's what I am trying to do
I need about 10 different request to a server and they share common
code. I want to kee...
|
2 | rolando | 2012-Feb-20 17:02 |
| xpath,ruby, nokogiri - attributes of root nodes
...I wan to fetch the ID, LASTEDITED, EXPIRESS attributes in the root
element. I am using xpath, ruby and nokogiri. This script is a part of
an other script that I have write, I simplefied it. But it dos...
|
1 | SHUMAcupcake | 2012-Feb-19 21:02 |
| upstream libxml2 patches
...I would like to gather a list of all pending nokogiri-related patches
to libxml2. Aaron suggests that we can get them looked at by
campaigning on the libxml2 mail list and irc.gnome.org #xml.
Here ar...
|
2 | Tim Elliott | 2012-Feb-19 18:02 |
| 1.5.1 release
...I'm going to translate the release notes over the weekend.
I'd like to apply @nocode's patch
(http://bogomips.org/nokogiri.git/patch/?id=12bbdf7219a09a0d522eeaaee5edc12165048688)
as a stopgap for #61...
|
9 | Aaron Patterson | 2012-Feb-18 22:02 |
| how to parse this HTML document?
...Hi,
I have an HTML document like this.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
<html
<head
<meta http-equiv="Content-type"...
|
1 | bypasser | 2012-Feb-15 17:02 |
| How to stop pure-Jave Nokogiri from substituting entities
...Here's a simple program:
require 'rubygems'
require 'nokogiri'
XML = %{<ic&lt;</ic}
Opt = Nokogiri::XML::ParseOptions
puts Nokogiri::XML.parse(XML, nil, "utf-8", Opt::NOENT).to_xml
It's ou...
|
2 | Dave Thomas | 2012-Feb-14 11:02 |
| Nokogiri and XHTML CDATA
...Hi all - I'm in a bit of a quandary on parsing some XHTML.
Using Nokogiri's XML parser I get errors about entities like 'reg' -
which are valid XHTML entities: http://www.elizabethcastro.com/html/ext...
|
1 | Simon Hildebrandt | 2012-Feb-13 16:02 |
| Problem building nokogiri-1.5.0
...Hi -
I'm having problems building nokogiri 1.5.0 on Debian GNU/Linux 4.0
(etch) where I am pointing to specific versions of libxml2 and
libxslt. Below is the error that I'm getting. I also believe ...
|
1 | Brian Din | 2012-Feb-13 16:02 |
| delete spaces
...Hello,
i have this code:
#/usr/bin/env ruby
require 'rubygems'
require 'nokogiri'
require 'open-uri'
doc = Nokogiri::HTML(open("http://mobile.bahn.de/bin/mobil/
bhftafel.exe/dox?input=Richard-Stra...
|
1 | O. H. | 2012-Feb-13 16:02 |
| how do i put single quotes around attributes with nokogiri XML builder?
...does anyone know how can i put single quotes around attributes with
nokogiri XML builder?
--
You received this message because you are subscribed to the Google Groups "nokogiri-talk" group.
To view...
|
1 | Michael Ni | 2012-Feb-13 16:02 |
| XSLT and extenal function implemented ?
...i want to use an external function with Nokogiri::XSLT as it implemented ?
--
You received this message because you are subscribed to the Google Groups "nokogiri-talk" group.
To view this discussion...
|
1 | unbewusst | 2012-Jan-29 15:01 |
| SOLVED: xslt passing parameter
...in fact we have to put string values beween '', like that :
puts xslt.transform(doc, ["lang", "'fr'", "fullname", "'Yvon Thoraval'"])
that's all folks !
--
You received this message because you ar...
|
1 | unbewusst | 2012-Jan-29 13:01 |
| xslt passing parameter
...Hey all,
here is my code :
doc = Nokogiri::XML(File.read(find_latest_xml))
xslt = Nokogiri::XSLT(File.read("#{@sites_xml_fo}/#{@xsl_fbn}"))
puts xslt.transform(doc, ["lang", "fr"])
in the style s...
|
1 | unbewusst | 2012-Jan-29 11:01 |