1RDF::Trine::Parser::RDFUXsMeLr(3C)ontributed Perl DocumeRnDtFa:t:iTornine::Parser::RDFXML(3)
2
3
4

NAME

6       RDF::Trine::Parser::RDFXML - RDF/XML Parser
7

VERSION

9       This document describes RDF::Trine::Parser::RDFXML version 1.019
10

SYNOPSIS

12        use RDF::Trine::Parser;
13        my $parser     = RDF::Trine::Parser->new( 'rdfxml' );
14        $parser->parse_into_model( $base_uri, $data, $model );
15

DESCRIPTION

17       ...
18

METHODS

20       Beyond the methods documented below, this class inherits methods from
21       the RDF::Trine::Parser class.
22
23       "new"
24       "parse_into_model ( $base_uri, $data, $model [, context => $context] )"
25           Parses the bytes in $data, using the given $base_uri. For each RDF
26           statement parsed, will call "$model->add_statement( $statement )".
27
28       "parse ( $base_uri, $rdf, \&handler )"
29       "parse_file ( $base_uri, $fh, \&handler )"
30           Parses all data read from the filehandle $fh, using the given
31           $base_uri. For each RDF statement parsed, "$handler->( $st )" is
32           called.
33
34           Note: The filehandle should NOT be opened with the
35           ":encoding(UTF-8)" IO layer, as this is known to cause problems for
36           XML::SAX.
37

BUGS

39       Please report any bugs or feature requests to through the GitHub web
40       interface at <https://github.com/kasei/perlrdf/issues>.
41

SEE ALSO

43       <http://www.w3.org/TR/rdf-syntax-grammar/>
44

AUTHOR

46       Gregory Todd Williams  "<gwilliams@cpan.org>"
47
49       Copyright (c) 2006-2012 Gregory Todd Williams. This program is free
50       software; you can redistribute it and/or modify it under the same terms
51       as Perl itself.
52
53
54
55perl v5.30.0                      2019-07-26     RDF::Trine::Parser::RDFXML(3)
Impressum