Class: RDF::XML::Format

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

Overview

XML format specification.

Examples:

Obtaining an XML format class

RDF::Format.for(:xml)         #=> RDF::XML::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/rdf+xml")