Version:

xdmp functions

The table below lists all the xdmp built-in functions (in this namespace: http://marklogic.com/xdmp).

You can also view these functions broken down by category:

339 functions
Function nameDescription
xdmp:accessReturns whether a given action on the specified document URI would succeed.
xdmp:add-response-headerAdds an HTTP response header field.
xdmp:add64Add two 64-bit integer values, discarding overflow.
xdmp:ampReturns the amp ID for the specified amp.
xdmp:amp-rolesReturns the set of all roles assigned to an amp, including roles directly assigned to the amp and roles inherited by other roles.
xdmp:and64AND two 64-bit integer values.
xdmp:annotationReturns the named annotation from the function.
xdmp:applyApplies an xdmp:function with the given parameters.
xdmp:architectureReturns the hardware architecture upon which MarkLogic Server is running.
xdmp:atomizableReturns true if a value could be atomized without error.
xdmp:base64-decodeConverts base64-encoded string to plaintext.
xdmp:base64-encodeConverts plaintext into base64-encoded string.
xdmp:binary-decodeConverts an encoded byte sequence, passed in as a binary node, from the specified encoding to a unicode string.
xdmp:binary-is-externalTest whether or not a binary node represents an external binary.
xdmp:binary-is-largeCheck whether a binary node is a large binary.
xdmp:binary-is-smallCheck whether a binary node is a small binary.
xdmp:binary-sizeReturns the size of the data, in bytes, represented by a binary node.
xdmp:cache-statusReturns the status of the caches.
xdmp:can-grant-rolesTests whether a user can grant or revoke a set of roles.
xdmp:castable-asReturns true if a value is castable.
xdmp:clusterReturns the ID of the cluster named in the parameter.
xdmp:cluster-nameReturns the name of the cluster with the specified ID.
xdmp:collation-canonical-uriReturns the canonical URI for the given URI, if it represents a valid collation.
xdmp:collection-deleteDeletes from the database every document in a collection.
xdmp:collection-locksReturns locks of documents in a collection.
xdmp:collection-propertiesReturns a sequence of properties documents, one for each document in the specified collection(s) that has a corresponding properties document.
xdmp:commitCommit the current transaction to the database.
xdmp:configuration-timestampReturns timestamp of last configuration changed
xdmp:cryptCalculates the password hash for the given password and salt.
xdmp:crypt2Calculates the password hash for the given plain-text password.
xdmp:current-lastReturns the size of the current node list.
xdmp:current-positionReturns the position of the current item.
xdmp:databaseReturns the ID of the database named in the parameter.
xdmp:database-backupStarts an asynchronous backup of the specified list of forests to the backup data directory.
xdmp:database-backup-cancelCancels an outstanding backup job with the specified job ID, returning true if the cancel operation is successful, false if the cancel operation is not successful.
xdmp:database-backup-purgePurge old backups from a directory.
xdmp:database-backup-statusChecks the status of the outstanding backup job with the specified job ID.
xdmp:database-backup-validateValidates that the specified list of forests can be backed up to the backup data directory.
xdmp:database-forestsReturns a sequence of forest IDs in the specified database.
xdmp:database-global-nonblocking-timestampReturns the most recent commit timestamp for which a query on the database including its foreign database will not block waiting for transactions to commit or journal frames to arrive from a foreign master.
xdmp:database-is-replicaTests if a database is a replica of a foreign database.
xdmp:database-nameReturn the name of the database with the given ID.
xdmp:database-nonblocking-timestampReturns the most recent commit timestamp for which a query on the database will not block waiting for transactions to commit or journal frames to arrive from a foreign master.
xdmp:database-partition-forestsGiven a value, the function returns a list of forests that have ranges the value falls into.
xdmp:database-path-namespacesReturns the list of path namespaces for the given database id.
xdmp:database-restoreStarts an asynchronous restore of the specified list of forests from the backup data directory.
xdmp:database-restore-cancelCancels an outstanding restore job with the specified job ID, returning true if the cancel operation is successful, false if the cancel operation is not successful.
xdmp:database-restore-statusChecks the status of the outstanding restore job with the specified job ID.
xdmp:database-restore-validateValidates that the specified list of forests can be restored from the backup data directory.
xdmp:databasesReturns a sequence of the IDs of all the databases in the system.
xdmp:dayname-from-dateReturns an xs:string representing the dayname value in the localized value of $arg.
xdmp:decode-from-NCNameInvertible function that decodes characters an NCName produced by xdmp:encode-for-NCName.
xdmp:default-collectionsReturns the collections any new document would get if the current user were to insert a document without specifying the collections.
xdmp:default-permissionsReturns the permissions any new document would get if the current user were to insert a document without specifying the default permissions.
xdmp:describeReturns a string representing the description of a given item sequence.
xdmp:diacritic-lessReturns the specified string, converting all of the characters with diacritics to characters without diacritics.
xdmp:directoryReturns the documents in a directory.
xdmp:directory-createCreates a directory.
xdmp:directory-deleteDeletes a directory and all of its child and descendant documents and directories from the database.
xdmp:directory-locksReturns locks of documents in a directory.
xdmp:directory-propertiesReturns a sequence of properties documents, one for each document in the specified directory that has a corresponding properties document.
xdmp:document-add-collectionsAdds the named document to the given collections.
xdmp:document-add-permissionsAdds the given permissions to the given document or directory.
xdmp:document-add-propertiesAdds a sequence of properties to the properties of a document.
xdmp:document-assignAssign a document URI to a forest index, using the same algorithm as xdmp:document-insert.
xdmp:document-deleteDeletes a document from the database.
xdmp:document-filterFilters a wide variety of document formats, extracting metadata and text, and returning XHTML.
xdmp:document-forestReturns the forest ID of the forest in which a document (or a lock or a property) with the specified URI is stored.
xdmp:document-getReturns the document in the file specified by $location.
xdmp:document-get-collectionsReturns the collections to which a given document belongs.
xdmp:document-get-permissionsReturns the permissions to a given document.
xdmp:document-get-propertiesReturns the property values for a document's property.
xdmp:document-get-qualityReturns the quality of the specified document if the document exists.
xdmp:document-insertInserts a new document into the database if a document with the specified URI does not already exist.
xdmp:document-loadInserts a new document with the specified URI.
xdmp:document-locksReturns the locks for one or more documents or directories.
xdmp:document-propertiesReturns a sequence of properties documents, one for each of the specified documents that has a corresponding properties document.
xdmp:document-remove-collectionsRemoves the named document from the given collections.
xdmp:document-remove-permissionsRemoves the given permissions from the named document or directory.
xdmp:document-remove-propertiesRemoves a sequence of properties from the properties of a document.
xdmp:document-set-collectionsSets the named document to belong to the given collections, replacing any previously set collections on the named document.
xdmp:document-set-permissionsSets the permissions on the named document (or directory) to the given permissions, replacing any permissions previously set on the document (or directory).
xdmp:document-set-propertiesSets the properties of a document to the given sequence of elements, replacing any properties that already exist on the document.
xdmp:document-set-propertySets a property on a document.
xdmp:document-set-qualitySets the quality of the document with the given URI.
xdmp:document-timestampReturns timestamp of the most recent visible update to a document, lock, or property.
xdmp:eagerReturns the value of its argument, evaluated eagerly.
xdmp:elapsed-timeReturns the elapsed time since the start of processing of this query.
xdmp:element-content-typeReturns the schema-defined content-type of an element ("empty", "simple", "element-only", or "mixed").
xdmp:emailSend an email in an XQuery program.
xdmp:encode-for-NCNameInvertible function that escapes characters required to be part of an NCName.
xdmp:encoding-language-detectAnalyzes binary, text, or XML data and suggests possible pairs of encoding and language, with a confidence score for each pair.
xdmp:estimateReturns the number of fragments selected by an expression.
xdmp:evalReturns the result of evaluating a string as an XQuery module.
xdmp:eval-in[DEPRECATED: use xdmp:eval with the database option instead] Returns the result of evaluating a string as an XQuery module in a given database.
xdmp:excel-convertConverts a Microsoft Excel document to XHTML.
xdmp:existsReturns true if any fragment is selected by an expression, false if no fragments are selected.
xdmp:external-binaryReturns an external binary node.
xdmp:external-binary-pathReturn the path to the external file associated with an external binary document.
xdmp:external-securityReturns the external security ID for the specified external security name.
xdmp:filesystem-directoryPerforms a directory listing of the given file pathname.
xdmp:filesystem-fileReads a file from the filesystem.
xdmp:filesystem-file-existsReturn true if a file exists on a host; otherwise false.
xdmp:filesystem-file-lengthReads the length of a file from the filesystem.
xdmp:filesystem-filepathReturns the canonicalized file path of the input path.
xdmp:foreign-cluster-statusReturns the status of a foreign cluster from a host's point of view.
xdmp:foreign-clustersReturns the IDs of the foreign clusters.
xdmp:forestReturns the ID of the forest specified as the parameter.
xdmp:forest-backupBacks up forest data files.
xdmp:forest-clearClears forest data files.
xdmp:forest-countsReturns detailed forest statistics for a given forest.
xdmp:forest-databasesReturns the database ID corresponding to the database to which the specified forest belongs.
xdmp:forest-hostReturn the host of the forest with the given id.
xdmp:forest-nameReturn the name of the forest with the given id.
xdmp:forest-onlineReturns true if the specified forest is online with a state of open, open replica or sync replicating if isReplica is true, or syncing replica if syncingOk is true, otherwise returns false.
xdmp:forest-open-replicaReturns the forest ID for each specified forest or for each forest's replica if the forest is currently experiencing a local disk failover.
xdmp:forest-restartRestarts a forest.
xdmp:forest-restoreRestores forest data files.
xdmp:forest-rollbackRolls forests back to a previous point in time, marking any fragment newer than the specified timestamp as deleted.
xdmp:forest-statusReturns the status of a forest.
xdmp:forest-updates-allowedReturn updates allowed state of the forest with the given ID.
xdmp:forestsReturns a sequence of the IDs of all the forests in the system.
xdmp:format-numberReturns a formatted number value based on the picture argument.
xdmp:from-jsonParses a string as JSON, returning an item sequence.
xdmp:functionReturns a function value as an xdmp:function type.
xdmp:function-moduleReturns the module location (if any) that the xdmp:function value refers to.
xdmp:function-nameReturns the QName of the function(s) that the xdmp:function refers to.
xdmp:function-parameter-nameReturns the name of the parameter at the designated (1-based) position from the given function's signature.
xdmp:function-parameter-typeReturns the type of the parameter at the designated (1-based) position from the given function's signature.
xdmp:function-return-typeReturns the return type from the given function's signature.
xdmp:function-signatureReturns the signature of the function that the argument refers to.
xdmp:functionsReturns all in-scope functions.
xdmp:get[DEPRECATED: use xdmp:document-get instead] Returns the document in the XML file specified by $path.
xdmp:get-current-rolesReturns all the current roles, both assigned and inherited by the current user and any received from amps.
xdmp:get-current-userReturns the name of the current user.
xdmp:get-current-useridReturns the ID of the current user.
xdmp:get-invoked-pathReturns the path of the module that is being invoked.
xdmp:get-original-urlReturns the portion of the URL following the host_name:port_number.
xdmp:get-orphaned-binariesReturns a sequence of the IDs of all orphaned large binaries in a given forest.
xdmp:get-request-bodyFor PUT requests, returns the body of the request.
xdmp:get-request-client-addressReturns as a string the internet address of the client from which the HTTP server request is issued.
xdmp:get-request-client-certificateReturns the PEM encoded client certificate if one was presented.
xdmp:get-request-fieldReturns the value of a named request field.
xdmp:get-request-field-content-typeThis function is used to extract the content type from the request field.
xdmp:get-request-field-filenameReturns a list of filenames from a multipart request for the field name specified.
xdmp:get-request-field-namesReturns a sequence of the request field names.
xdmp:get-request-headerReturns the value of a named request header.
xdmp:get-request-header-namesReturns a sequence of request header names.
xdmp:get-request-methodReturns the HTTP request method.
xdmp:get-request-pathReturns the HTTP request path.
xdmp:get-request-portReturns the port of the request.
xdmp:get-request-protocolReturns as a string the request protocol (either "http" or "https") Returns the empty sequence if it is not called from an HTTP server.
xdmp:get-request-urlReturns the portion of the URL following the host_name:port_number.
xdmp:get-request-userIf this App Server is using application-level authentication, returns the ID of the user in the last successful call to xdmp:login.
xdmp:get-request-usernameIf this App Server is using application-level authentication, returns the username in the last successful call to xdmp:login.
xdmp:get-response-codeReturns two nodes, the first containing the HTTP response code and the second containing the HTTP response message.
xdmp:get-response-encodingReturns the encoding that the response from this server is in.
xdmp:get-server-fieldReturns the value of a named server field.
xdmp:get-server-field-namesReturns a sequence of the server field names.
xdmp:get-session-fieldReturns the value of a named session field from the session created by the xdmp:login function.
xdmp:get-session-field-namesReturns a sequence of the HTTP session field names from the session created by the xdmp:login function.
xdmp:get-transaction-modeRetrieve the transaction mode for the current session.
xdmp:get-url-rewriter-pathReturns the URL of the URL rewriter handler for this application server.
xdmp:groupReturns the ID of the group specified in the parameter.
xdmp:group-hostsReturns the IDs of all hosts belonging to the group with the given ID.
xdmp:group-nameReturns the name of the group with the given ID.
xdmp:group-serversReturns the IDs of all App Servers belonging to the group with the given ID.
xdmp:groupsReturns a sequence of the IDs of all the groups in the system.
xdmp:gss-server-negotiateThis function is used for kerberos GSS authentication in application level authentication.
xdmp:gunzipGet a node from a gzip node.
xdmp:gzipCreate a gzip node from a node.
xdmp:has-privilegeTests whether the current user has at least one of a given set of privileges.
xdmp:hash32Returns the 32-bit hash of a string.
xdmp:hash64Returns the 64-bit hash of a string.
xdmp:hex-to-integerParses a hexadecimal string, returning an integer.
xdmp:hmac-md5Calculates the Hash-based Message Authentication Code (HMAC) using the md5 hash function of the given secret key and message arguments.
xdmp:hmac-sha1Calculates the Hash-based Message Authentication Code (HMAC) using the SHA1 hash function of the given secret key and message arguments.
xdmp:hmac-sha256Calculates the Hash-based Message Authentication Code (HMAC) using the SHA256 hash function of the given secret key and message arguments.
xdmp:hmac-sha512Calculates the Hash-based Message Authentication Code (HMAC) using the SHA512 hash function of the given secret key and message arguments.
xdmp:hostReturns the ID of the host named in the parameter.
xdmp:host-forestsReturns a sequence of forest IDs in the specified host.
xdmp:host-get-ssl-fips-enabledReturns whether fips mode is enabled.
xdmp:host-nameReturns the name of the host ID specified as the parameter.
xdmp:host-statusReturns the status of a host.
xdmp:hostsReturns a sequence of the IDs of all the hosts in the system.
xdmp:http-deleteSends an http DELETE request to the http server specified in the URI to delete the specified resource.
xdmp:http-getSends the http GET method to the specified URI.
xdmp:http-headSends the http HEAD method to the specified URI.
xdmp:http-optionsSends the http OPTIONS method to the specified URI.
xdmp:http-postSends the http POST request to the server.
xdmp:http-putSends an HTTP PUT request to an HTTP server.
xdmp:initcapReturns the string where the first letter of each token has been uppercased.
xdmp:integer-to-hexReturns a hexadecimal representation of an integer.
xdmp:integer-to-octalReturns an octal representation of an integer.
xdmp:invokeReturns the result of evaluating a module at the given path.
xdmp:invoke-functionReturns the result of evaluating a function value.
xdmp:invoke-in[DEPRECATED: use xdmp:invoke with the database option instead] Returns the result of evaluating a module at the given path.
xdmp:key-from-QNameConstruct a context-independent string from a QName.
xdmp:lazyReturns the value of its argument, evaluated lazily.
xdmp:ldap-lookupReturns an ldap entry.
xdmp:ldap-searchReturns ldap search result.
xdmp:load[DEPRECATED: use xdmp:document-load instead] Inserts a new document from the XML file at $path if a document with the specified URI does not already exist.
xdmp:lock-acquireAcquire a lock on a document or directory for an extended amount of time.
xdmp:lock-for-updateAcquires an intent exclusive transaction lock on a URI.
xdmp:lock-releaseUnlock a document or directory.
xdmp:logLogs a debug message to the log file <install_dir>/Logs/ErrorLog.txt.
xdmp:log-levelRetrieves the current server log level.
xdmp:loginLogs in a user on an application server that is using application-level authentication and sends a session cookie containing the session ID to the user's browser.
xdmp:logoutLogs the current user out of the session on the server.
xdmp:lshift64Left-shift a 64-bit integer value.
xdmp:md5Calculates the md5 hash of the given argument.
xdmp:mergeStarts merging the forests of the database, subject to specified options.
xdmp:merge-cancelCancel the merge with the specified merge ID on a forest with the specified forest ID.
xdmp:mergingReturns the forest IDs of any currently merging database forests.
xdmp:modules-databaseReturns the database ID of the modules database.
xdmp:modules-rootReturns the current root path for modules.
xdmp:month-name-from-dateReturns month name, calculated from the localized value of $arg.
xdmp:mul64Muliply two 64-bit integer values, discarding overflow.
xdmp:multipart-decodeExtract the parts from a multipart encoding.
xdmp:multipart-encodeCreate a multipart encoding of the specified node.
xdmp:node-databaseReturns the database id where the parameter is stored.
xdmp:node-deleteDeletes a node from the database.
xdmp:node-insert-afterAdds an immediately following sibling to a node.
xdmp:node-insert-beforeAdds an immediately preceding sibling to a node.
xdmp:node-insert-childAdds a new last child to a node.
xdmp:node-kindReturns an xs:string representing the node's kind: either "document", "element", "attribute", "text", "namespace", "processing-instruction", "binary", or "comment".
xdmp:node-replaceReplaces a node.
xdmp:node-uriReturns the document-uri property of the parameter or its ancestor.
xdmp:not64NOT a 64-bit integer value.
xdmp:octal-to-integerParses an octal string, returning an integer.
xdmp:or64OR two 64-bit integer values.
xdmp:parse-dateTimeParses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
xdmp:parse-yymmddParses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value.
xdmp:pathReturns a string whose value corresponds to the path of the node.
xdmp:pdf-convertConverts a PDF file to XHTML.
xdmp:permissionReturns a permission element in the security namespace corresponding to the named role and capability given.
xdmp:planReturns an XML element recording information about how the given expression will be processed by the index.
xdmp:plannableReturns a boolean showing whether the given expression is suitable to use with xdmp:plan.
xdmp:platformReturns the operating-system platform upon which MarkLogic Server is running ("solaris", "winnt", "linux", or "macosx").
xdmp:positionReturns an integer value representing the starting position of a string within the search string.
xdmp:powerpoint-convertConverts a Microsoft Powerpoint document to XHTML.
xdmp:pretty-printReturns a well-formatted XQuery module.
xdmp:privilegeReturns the privilege ID for the specified privilege name.
xdmp:privilege-rolesReturns the set of all roles that have a given privilege.
xdmp:product-editionReturns the current MarkLogic product edition.
xdmp:product-environmentReturns the current MarkLogic product environment.
xdmp:QName-from-keyConstruct a QName from a string of the form "{namespaceURI}localname".
xdmp:quarter-from-dateReturns an xs:integer between 1 and 4, both inclusive, calculating the quarter component in the localized value of $arg.
xdmp:query-metersReturns the current value of the resource meters for this query sequence.
xdmp:query-traceEnables or disables tracing of this query.
xdmp:quoteReturns the unevaluated serialized representation of the input parameter as a string.
xdmp:randomReturns a random unsigned integer between 0 and a number up to 64 bits long.
xdmp:redirect-responseRedirects the App Server response to a given location.
xdmp:remove-orphaned-binaryRemove an orphaned large binary
xdmp:requestReturns the unique key of the current request.
xdmp:request-cancelCancel the request with the given host, server, and request IDs.
xdmp:request-statusReturns the status of a running request.
xdmp:request-timestampReturns the system timestamp for this request if the request is a query statement.
xdmp:resolve-uriResolves a relative URI against an absolute URI.
xdmp:restartRestart servers on hosts.
xdmp:rethrowWithin the catch section of a try-catch expression, re-throw the currently caught error.
xdmp:roleReturns the role ID for the specified role name.
xdmp:role-rolesReturns the set of all roles inherited by a given role, including roles directly assigned to the role and roles inherited from other roles.
xdmp:rollbackRoll back the current transaction.
xdmp:rshift64Right-shift a 64-bit integer value.
xdmp:saveSerializes a node as text and saves it to a file.
xdmp:schema-databaseReturns the database ID of the schema database associated with the current database.
xdmp:security-assertTests whether the current user has at least one of a given set of privileges.
xdmp:security-databaseReturns the database ID of the security database associated with the current database.
xdmp:serverReturns the ID(s) of the App Server specified in the parameter.
xdmp:server-nameReturn the name of the App Server with the given ID.
xdmp:server-statusReturns the status of an app-server on a host.
xdmp:serversReturns a sequence of the IDs of all the App Servers in the system.
xdmp:setSet the value of a variable to the specified expression.
xdmp:set-request-time-limitChanges the time limit for an actively running request to the specified value.
xdmp:set-response-codeSets the response code and message.
xdmp:set-response-content-typeSets the response content-type.
xdmp:set-response-encodingSets the response encoding.
xdmp:set-server-fieldSets the value of a named server field.
xdmp:set-server-field-privilegeSets the privilege of a named server field.
xdmp:set-session-fieldSets the value of a named session field for the session created by the xdmp:login function.
xdmp:set-transaction-modeSet the transaction mode for the current session.
xdmp:set-transaction-nameSet the name of a local or remote transaction.
xdmp:set-transaction-time-limitSet the transaction time limit for a local or remote transaction.
xdmp:sha1Calculates the SHA1 hash of the given argument.
xdmp:sha256Calculates the SHA256 hash of the given argument.
xdmp:sha384Calculates the SHA384 hash of the given argument.
xdmp:sha512Calculates the SHA512 hash of the given argument.
xdmp:shutdownShutdown servers on hosts.
xdmp:sleepDelays for a specific amount of time.
xdmp:spawnPlace the specified module on the task queue for evaluation.
xdmp:spawn-functionPlace the specified function value on the task queue for evaluation.
xdmp:spawn-in[DEPRECATED: use xdmp:spawn with the database option instead] Place the specified module on the task queue for evaluation.
xdmp:sqlExecutes an ad hoc SQL query.
xdmp:start-journal-archivingStarts journal archiving to the specified list of forests.
xdmp:step64Combines an initial hash with a subsequent hash.
xdmp:stop-journal-archivingStops journal archiving to the specified list of forests.
xdmp:strftimeFormats a dateTime value using POSIX strftime.
xdmp:subbinaryReturns a binary node made up of a subset of the given binary node.
xdmp:tidyRun tidy on the specified html document to convert the document to well-formed and clean XHTML.
xdmp:timestamp-to-wallclockConverts a 64 bit timestamp value to an xs:dateTime.
xdmp:to-jsonReturns a string representing a JSON serialization of a given item sequence.
xdmp:traceSignal a trace event.
xdmp:transactionReturns the transaction ID for the current transaction, or transaction IDs for all transactions with the given name.
xdmp:transaction-commitExplicitly commit a transaction running on a named host.
xdmp:transaction-rollbackExplicitly roll back a transaction running on a named host.
xdmp:triggers-databaseReturns the database ID of the triggers database associated with the current database.
xdmp:typeReturns the name of the simple type of the atomic value argument as an xs:QName.
xdmp:unpathEvaluate a string as an XPath and return the corresponding node(s).
xdmp:unquoteParses a string as XML, returning one or more document nodes.
xdmp:uri-content-typeReturns the content type of the given URI as matched in the mimetypes configuration.
xdmp:uri-formatReturns the format of the given URI as matched in the mimetypes configuration.
xdmp:uri-is-fileReturns true if a given URI refers to a file which exists on the current application server.
xdmp:url-decodeConverts URL-encoded string to plaintext.
xdmp:url-encodeConverts plaintext into URL-encoded string.
xdmp:userReturns the user ID for the specified user name.
xdmp:user-external-securityReturns external security id and user name for an external user.
xdmp:user-last-loginReturns the last-login node for the specified user ID.
xdmp:user-rolesReturns all roles assigned to a user, including roles directly assigned to the user and roles inherited by other roles.
xdmp:userid-rolesReturns all roles assigned to a user, including roles directly assigned to the user and roles inherited by other roles.
xdmp:validateReturns an element containing a summary of validation errors in a node.
xdmp:valueEvaluate an expression in the context of the current evaluating statement.
xdmp:versionReturns the current MarkLogic Server version.
xdmp:wallclock-to-timestampConverts an xs:dateTime to a 64 bit timestamp value.
xdmp:week-from-dateReturns an xs:integer between 1 and 53, both inclusive, representing the week value in the localized value of $arg.
xdmp:weekday-from-dateReturns an xs:integer between 1 and 7, both inclusive, representing the weekday value in the localized value of $arg.
xdmp:with-namespacesEvaluates the expression in the context of a specific set of namespace bindings.
xdmp:word-convertConverts a Microsoft Word document to XHTML.
xdmp:x509-certificate-extractReturns the XML representation of the specified X.509 certificate.
xdmp:xa-completeCompletes (commits or rolls back) a prepared XA transaction.
xdmp:xa-forgetForgets a remembered completed XA transaction.
xdmp:xor64XOR two 64-bit integer values.
xdmp:xquery-versionReturns the XQuery language version of the calling module.
xdmp:xslt-evalExecutes an XSLT stylesheet against a node.
xdmp:xslt-invokeExecutes an XSLT stylesheet against a node.
xdmp:yearday-from-dateReturns an xs:integer between 1 and 366, both inclusive, representing the yearday value in the localized value of $arg.
xdmp:zip-createCreate a zip file from a list of nodes.
xdmp:zip-getGet a named file from a zip document.
xdmp:zip-manifestReturn a manifest for this zip file.