From: "D. Krmpotic" Date: 2008-02-13T04:05:28+09:00 Subject: Re: Hpricot strangeness Great, thanx.. I did find this before, but somehow it didn't work at the first try. I did something wrong I guess. thank you again Gregory Seidman wrote: > On Wed, Feb 13, 2008 at 12:40:32AM +0900, D. Krmpotic wrote: >> Has anyone noticed the following gotcha/bug(?) with empty xml tags in >> hpricot: doc = Hpricot("
aaaa
") ; >> doc.at("foo") => {elem {elem "aaaa" }} versus => >> {emptyelem } for >> >> How to get around that? > > http://code.whytheluckystiff.net/hpricot/wiki/HpricotXML > >> thank you! >> david > --Greg -- Posted via http://www.ruby-forum.com/.