|
RDFStore::Parser::Styles::RDFStore::Statement - This module is a RDFStore::Parser::SiRPAC filter to generate RDFStore::Statements |
RDFStore::Parser::Styles::RDFStore::Statement - This module is a RDFStore::Parser::SiRPAC(3) filter to generate RDFStore::Statements
use RDFStore::Parser::SiRPAC;
use RDFStore::NodeFactory;
my $p=new RDFStore::Parser::SiRPAC(
ErrorContext => 2,
Style => 'RDFStore::Parser::Styles::RDFStore::Statement',
NodeFactory => new RDFStore::NodeFactory()
);
if(defined $ENV{GATEWAY_INTERFACE}) { print ``Content-type: text/html
``; $p->parsefile($ENV{QUERY_STRING}); } else { my $input = shift; if($input =~ /^-/) { $p->parse(*STDIN); } else { $p->parsefile($input); }; };
In the samples directory of the distribution you can find a set of a sample scripts to play with :)
This module will probably be renamed to XML::SAX::RDF::RDFStore::Model when proper SAX2 support is added to the main RDFStore::Parser::SiRPAC parser
RDFStore::Parser::SiRPAC(3) RDFStore::Parser::Styles::RDFStore::Statement and RDFStore::Statement(3)
Alberto Reggiori <areggiori@webweaving.org>
|
RDFStore::Parser::Styles::RDFStore::Statement - This module is a RDFStore::Parser::SiRPAC filter to generate RDFStore::Statements |