<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/rdf.langString.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>rdf.langString</api:function-name><api:suggest>rdf.langstring</api:suggest><api:suggest>rdf</api:suggest><api:suggest>langstring</api:suggest><api:function-link mode="xquery" fullname="rdf:langString">/apidoc/8.0/rdf:langString.xml</api:function-link><api:function mode="javascript" name="langString" type="builtin" lib="rdf" category="Semantics" hidden="false" bucket="MarkLogic Built-In Functions" prefix="rdf" namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#" fullname="rdf.langString"><api:summary>
  Returns an <code xmlns="http://www.w3.org/1999/xhtml">rdf:langString</code> value with the given value and language 
  tag. The <code xmlns="http://www.w3.org/1999/xhtml">rdf:langString</code> type extends <code xmlns="http://www.w3.org/1999/xhtml">xs:string</code>, and 
  represents a language tagged string in RDF.
  <p xmlns="http://www.w3.org/1999/xhtml">This function is a built-in.</p>
</api:summary><api:params><api:param name="string" type="xs:string"><api:param-description>
    The lexical value.
  </api:param-description><api:param-name>string</api:param-name><api:param-type>String</api:param-type></api:param><api:param name="lang" type="xs:string"><api:param-description>
    The language.
  </api:param-description><api:param-name>lang</api:param-name><api:param-type>String</api:param-type></api:param></api:params><api:return>rdf.langString</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
rdf.langString("http://foo/bar", "en")
=&gt; an rdf:langString representing "http://foo/bar" in english

</pre></api:example></api:function></api:function-page>