Loading TOC...

rdf.langString

rdf.langString(
   $string as String,
   $lang as String
) as rdf.langString

Summary

Returns an rdf:langString value with the given value and language tag. The rdf:langString type extends xs:string, and represents a language tagged string in RDF.

This function is a built-in.

Parameters
$string The lexical value.
$lang The language.

Example

rdf.langString("http://foo/bar", "en")
=> an rdf:langString representing "http://foo/bar" in english

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy