On Fri, Jan 28, 2011 at 11:27:26PM +0900, Daishi Kato wrote: > Hi, > > I digged into the problem a little more and found something. > > In 4.6.0, this is somewhat working: > #;24> ((sxpath "//table/tr[td[a[contains(href,'&abc=123&')]]]") > (html->sxml "<html><table><tr><td><a > href=\"/xxx/yyy/?zzz&abc=123&\">yyy</a></td><tr></table></html>")) > ((tr (td (a (@ (href "/xxx/yyy/?zzz&abc=123&")) "yyy")))) > > So, I replaced @href with href. > Is it correct? Maybe not. > I assume the sxpath egg is incorrect. > > Can anybody tell if this is a chicken-specific problem, or > of sxml-tools at sourceforge?
It probably is not a chicken-specific problem because the sxpath egg includes an unmodified copy of SSAX. Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
