MarkLogic 12 EA 1 Product Documentation
rdf.langStringLanguage

rdf.langStringLanguage(
   val as rdf.langString
) as String

Summary

Returns the language of an rdf.langString value.

This function is a built-in.

Parameters
val The rdf:langString value.

Example

rdf.langStringLanguage(rdf.langString("http://foo/bar", "en"));
=> en
Powered by MarkLogic Server | Terms of Use | Privacy Policy