Menu

#72 writeAsHtml for RdfSerializer

open
nobody
Serializers (1)
5
2012-06-05
2012-06-05
Anonymous
No

The model function writeAsHtml() is really useful!

I'm using the RdfSerializer in api/syntax, as I am wanting namespace declarations to be included in the output RDF so I'm doing..
$ser = new RdfSerializer();
$ser->addNamespacePrefix("foaf", FOAF);
$ser->addNamespacePrefix("cco", CCO);
...

and then saving to file as:
$ser->saveAs($model,$fname);

What I'd really appreciate would be to be able to do something like:
$ser->writeAsHtml($model);

Does this functionality exist?

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.