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
Powered by MarkLogic Server | Terms of Use | Privacy Policy