ropensci / redland-bindings

Redland librdf language bindings
http://librdf.org/bindings/
Other
17 stars 3 forks source link

Add function to return the value of a Node #65

Closed gothub closed 6 years ago

gothub commented 6 years ago

This function is mostly used for unit testing. It will return the value of a Node as as a string, for any node type:

world <- new("World")
node <- new("Node", world, literal="¡Hola, amigo! ¿Cómo estás?", language="es")
value <- getNodeValue(node)
gothub commented 6 years ago

Added in commit 8c4ff9d198a7c046b16032c57f1e3b2207b41e87