segfault / fastxml
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
fastxml /
| name | age | message | |
|---|---|---|---|
| |
COPYING | Wed Jun 11 19:01:12 -0700 2008 | |
| |
LICENSE | Wed Jun 11 19:01:12 -0700 2008 | |
| |
README | Sun Jun 15 21:39:34 -0700 2008 | |
| |
Rakefile | Fri Aug 29 21:39:30 -0700 2008 | |
| |
benchmarks/ | Fri Jul 25 05:28:41 -0700 2008 | |
| |
ext/ | Fri Aug 29 21:14:25 -0700 2008 | |
| |
lib/ | Fri Aug 29 21:36:33 -0700 2008 | |
| |
specs/ | Fri Aug 29 21:14:25 -0700 2008 | |
| |
test_data/ | Tue Aug 12 08:58:49 -0700 2008 |
README
= FastXml
a simple fast xml library using libxml and libxslt with an hpricot-like api
== Overview
FastXml:
1) is not standalone, it *requires libxml* and *libxslt*
2) attempts to provide the speediest xml parsing library available for ruby
3) provides an hpricot-like syntax for xml parsing and xslt processing
== Example
doc = FastXml( open( 'test.xml ) )
puts doc.root.name
puts doc.root.content
doc.root.children.each do |node|
puts "%s => %s" % [ node.name, node.content ]
end
(doc/"/node").each { |node| puts node.inspect } #xpath search
doc.search( "//node" ).each { |node| puts node.inspect }
== Copyright & Licensing
Copyright Mark Guzman 2007-2008
Please see the LICENSE file for more details. The short version is it's under the same terms as Ruby.
