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';
"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"
"_attributes" => array ( "rdf:about" => "http://example.com/foobar.html" ),
"title" => "Example item",
"link" => "http://example.com",
"_attributes" => array ( "rdf:about" => "http://example.com/foobar.html" )
"title" => "Another item",
"link" => "http://example.com",
"_attributes" => array ( "rdf:about" => "http://example.com/foobar.html" )
"title" => "I think you get it...",
"link" => "http://example.com",
"_attributes" => array ( "rdf:about" => "http://example.com/foobar.html" )
Documentation generated on Mon, 11 Mar 2019 15:41:41 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|