Class: RDF::TriX::Format

Inherits:
Format
  • Object
show all
Defined in:
lib/rdf/trix/format.rb

Overview

TriX format specification.

Examples:

Loading TriX format support

require 'rdf/trix'

Obtaining a TriX format class

RDF::Format.for(:trix)         #=> RDF::TriX::Format
RDF::Format.for("etc/doap.xml")
RDF::Format.for(:file_name      => "etc/doap.xml")
RDF::Format.for(:file_extension => "xml")
RDF::Format.for(:content_type   => "application/trix")

See Also:

Constant Summary collapse

XMLNS =
'http://www.w3.org/2004/03/trix/trix-1/'