librdf_node_set_typed_literal_value

Name

librdf_node_set_typed_literal_value --  Set the node typed literal value with options

Synopsis

int librdf_node_set_typed_literal_value (librdf_node* node, const char* value, const char * xml_language, librdf_uri* datatype_uri);

Arguments

node

the node object

value

pointer to the literal string value

xml_language

pointer to the literal language (or NULL, empty string if not defined)

datatype_uri

URI of typed literal or NULL

Description

Sets the node literal value, optional language and optional literal datatype URI.

Return value

non 0 on failure