Sha256: c8572ab769ebf0df4048a65308da52bff6df68d71327c2208bcf4042f8757880

Contents?: true

Size: 1.95 KB

Versions: 3

Compression:

Stored size: 1.95 KB

Contents

# RDF::RDFXML reader/writer

RDF/XML parser for RDF.rb.

## DESCRIPTION

RDF::RDFXML is an RDF/XML reader/writer for Ruby using the RDF.rb library suite.

## FEATURES
RDF::RDFXML parses RDF/XML into statements or triples and serializes triples, statements or graphs.

Fully compliant RDF/XML parser and serializer.

Install with 'gem install rdf-rdfxml'

## Usage:
Instantiate a parser and parse source, specifying type and base-URL

    RDF::RDFXML::Reader.open("./etc/doap.xml") do |reader|
      reader.each_statement do |statement|
        puts statement.inspect
      end
    end

## Dependencies
* [RDF.rb](http://rubygems.org/gems/rdf) (>= 0.3.1)
* [Nokogiri](http://rubygems.org/gems/nokogiri) (>= 1.4.4)

## Documentation
Full documentation available on [RubyForge](http://rdf.rubyforge.org/rdfxml)

### Principle Classes
* {RDF::RDFXML}
* {RDF::RDFXML::Format}
* {RDF::RDFXML::Reader}
* {RDF::RDFXML::Writer}

### Additional vocabularies
* {RDF::XML}

### Patches
* {Array}
* {RDF::Graph}
* {RDF::Literal::XML}
* {Nokogiri::XML::Node}

## TODO
* Add support for LibXML and REXML bindings, and use the best available
* Consider a SAX-based parser for improved performance

## Resources
* [RDF.rb](http://rdf.rubyforge.org/) 
* [Distiller](http://distiller.kellogg-assoc)
* [Documentation](http://rdf.rubyforge.org/rdfa)
* [History](file:file.History.html)
* [XHTML+RDFXML 1.1 Core](http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422/)
* [RDF Tests](http://www.w3.org/2000/10/rdf-tests/rdfcore/allTestCases.html)

## AUTHOR
* [Gregg Kellogg](http://github.com/gkellogg) - <http://kellogg-assoc.com/>

## CONTRIBUTORS
* [Nicholas Humfrey](http://github.com/njh)

## License

This is free and unencumbered public domain software. For more information,
see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.

## FEEDBACK

* gregg@kellogg-assoc.com
* <http://rubygems.org/rdf-rdfxml>
* <http://github.com/gkellogg/rdf-rdfxml>
* <http://lists.w3.org/Archives/Public/public-rdf-ruby/>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rdf-rdfxml-0.3.2.1 README.md
rdf-rdfxml-0.3.2 README.md
rdf-rdfxml-0.3.1 README.md