Loading TOC...

MarkLogic 10 Product Documentation
rdf:langString-language

rdf:langString-language(
   $val as rdf:langString
) as xs:string

Summary

Returns the language of an rdf:langString value.

This function is a built-in.

Parameters
val The rdf:langString value.

Example

rdf:langString-language(rdf:langString("http://foo/bar", "en"))
=> en

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.