Source for file serializeRDF.php
Documentation is available at serializeRDF.php
* This example shows how to create an RDF document
* with a few lines of code.
* This can also be done with mode => simplexml
* @author Stephan Schmidt <schst@php.net>
* @see serializeIndexedArray.php
require_once 'XML/Serializer.php';
"rootAttributes" => array ("version" => "0.91"),
"defaultTagName" => "item"
"title" => "Example RDF channel",
"link" => "http://www.php-tools.de",
"title" => "Example image",
"url" => "http://www.php-tools.de/image.gif",
"link" => "http://www.php-tools.de"
"title" => "Example item",
"link" => "http://example.com"
"title" => "Another item",
"link" => "http://example.com"
"title" => "I think you get it...",
"link" => "http://example.com"
Documentation generated on Mon, 11 Mar 2019 10:15:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|