Create the Serializer object

The serializer can be created directly from a known name using raptor_new_serializer() such as rdfxml for the W3C Recommendation RDF/XML syntax:

  raptor_serializer* rdf_serializer;

  rdf_serializer = raptor_new_serializer("rdfxml");

or the name can be discovered from an enumeration as discussed in Querying Functionality