首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > ruby-kind-dom

ruby-kind-dom

资 源 简 介

KindDom is an XML DOM XPath finder developed at Scout Labs within Ruby on Rails. This small behavioral wrapper around libxml-ruby provides graceful transformation of the content inside XML responses. Three Methods to Access XML Content #content_for An XPath-based content selector, returning the content of the first selected node. When content is found, the closure (block) is called with the content, enabling usage similar to a visitor pattern. This pattern allows your XML consumer to gracefully skip code for missing content. #first_of, #collection_of XPath-based node selection, returning "kind" nodes, with the same closure & default behaviors as #content_for. News Oct-10-2008 — After months of development, testing & usage within our Rails app, and now compatibility w
VIP VIP
0.172060s