public
Description: ruby libxml library targetting speed and ease of use. provides an hpricot-like interface to xml
Homepage: http://trac.hasno.info/fastxml
Clone URL: git://github.com/segfault/fastxml.git
segfault (author)
Fri Jul 25 05:28:41 -0700 2008
commit  7945e32a9b7eef5967b116803fde8625b981cdb4
tree    9184581f4f84f661b19aeb64b435874658c26ac8
parent  286299c5d300ecff2991cf7f9cab8ad33e221a0c
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.