An RDF seralizer.
Seralizes models to RDF syntax. It supports the xml:base, xml:lang, rdf:datatype and rdf:nodeID directive. You can choose between different output syntaxes by using the configuration methods or changing the configuration default values in constants.php. This class is based on the java class edu.unika.aifb.rdf.api.syntax.RDFSerializer by Boris Motik.
History:
- 12-14-2004 : bug in function serialize() fixed by Sören Auer(auer@informatik.uni-leipzig.de)
- 12-06-2004 : improved namespace handling added (tobias.gauss@web.de)
- 01-06-2004 : Empty model bug fixed.
- 03-25-2004 : Bug in saveAs() fixed by inkel(inkel-php@f14web.com.ar)
- 03-21-2004 : Support for xml default namespace added
Methods changed: serialize(), writeNamespaceDeclarations(), getElementText()
- 11-17-2003 : Support for XMLLiterals added.
- 07-27-2003 : Functions addapted to the new class tree (MemModel extends Model)
- 07-24-2003 : Bug in writeAbsoluteResourceReference() fixed by Paul Cowles(paul@semaview.com)
- 02-21-2003 : saveAs method added.
- 02-12-2003 : rdf:type and bNode reference bug fixed.
- 01-15-2003 : pass-by-reference bug fixed.
- 01-10-2003 : rdf:datatype and $useAttributes bug fixed.
- 12-04-2002 : Added support for rdf:datatype (writeContentStatements())
- 12-04-2002 : Added rdf:nodeID attribute for blank nodes (writeSubjectURI, writeResourceReference)
- 10-03-2002 : Bug in collectNamespaces() fixed.
- 09-15-2002 : First version of this class.