
xdmp functions (Extension)
The extension functions provide miscellaneous extensions to XQuery.
48 functions
| Function name | Description |
|---|---|
| xdmp:add64 | Add two 64-bit integer values, discarding overflow. |
| xdmp:and64 | AND two 64-bit integer values. |
| xdmp:base64-decode | Converts base64-encoded string to plaintext. |
| xdmp:base64-encode | Converts plaintext into base64-encoded string. |
| xdmp:binary-decode | Converts an encoded byte sequence, passed in as a binary node, from the specified encoding to a unicode string. |
| xdmp:castable-as | Returns true if a value is castable. |
| xdmp:crypt | Calculates the password hash for the given password and salt. |
| xdmp:decode-from-NCName | Invertible function that decodes characters an NCName produced by xdmp:encode-for-NCName. |
| xdmp:document-get-collections | Returns the collections to which a given document belongs. |
| xdmp:eager | Returns the value of its argument, evaluated eagerly. |
| xdmp:element-content-type | Returns the schema-defined content-type of an element ("empty", "simple", "element-only", or "mixed"). |
| xdmp:email | Send an email in an XQuery program. |
| xdmp:encode-for-NCName | Invertible function that escapes characters required to be part of an NCName. |
| xdmp:encoding-language-detect | Analyzes binary, text, or XML data and suggests possible pairs of encoding and language, with a confidence score for each pair. |
| xdmp:hash32 | Returns the 32-bit hash of a string. |
| xdmp:hash64 | Returns the 64-bit hash of a string. |
| xdmp:hex-to-integer | Parses a hexadecimal string, returning an integer. |
| xdmp:hmac-md5 | Calculates the Hash-based Message Authentication Code (HMAC) using the md5 hash function of the given secret key and message arguments. |
| xdmp:hmac-sha1 | Calculates the Hash-based Message Authentication Code (HMAC) using the SHA1 hash function of the given secret key and message arguments. |
| xdmp:hmac-sha256 | Calculates the Hash-based Message Authentication Code (HMAC) using the SHA256 hash function of the given secret key and message arguments. |
| xdmp:hmac-sha512 | Calculates the Hash-based Message Authentication Code (HMAC) using the SHA512 hash function of the given secret key and message arguments. |
| xdmp:integer-to-hex | Returns a hexadecimal representation of an integer. |
| xdmp:integer-to-octal | Returns an octal representation of an integer. |
| xdmp:key-from-QName | Construct a context-independent string from a QName. |
| xdmp:lazy | Returns the value of its argument, evaluated lazily. |
| xdmp:lshift64 | Left-shift a 64-bit integer value. |
| xdmp:md5 | Calculates the md5 hash of the given argument. |
| xdmp:mul64 | Muliply two 64-bit integer values, discarding overflow. |
| xdmp:node-kind | Returns an xs:string representing the node's kind: either "document", "element", "attribute", "text", "namespace", "processing-instruction", "binary", or "comment". |
| xdmp:not64 | NOT a 64-bit integer value. |
| xdmp:octal-to-integer | Parses an octal string, returning an integer. |
| xdmp:or64 | OR two 64-bit integer values. |
| xdmp:parse-dateTime | Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value. |
| xdmp:parse-yymmdd | Parses a string containing date, time or dateTime using the supplied picture argument and returns a dateTime value. |
| xdmp:QName-from-key | Construct a QName from a string of the form "{namespaceURI}localname". |
| xdmp:random | Returns a random unsigned integer between 0 and a number up to 64 bits long. |
| xdmp:resolve-uri | Resolves a relative URI against an absolute URI. |
| xdmp:rshift64 | Right-shift a 64-bit integer value. |
| xdmp:sha1 | Calculates the SHA1 hash of the given argument. |
| xdmp:sha256 | Calculates the SHA256 hash of the given argument. |
| xdmp:sha512 | Calculates the SHA512 hash of the given argument. |
| xdmp:sleep | Delays for a specific amount of time. |
| xdmp:step64 | Combines an initial hash with a subsequent hash. |
| xdmp:strftime | Formats a dateTime value using POSIX strftime. |
| xdmp:timestamp-to-wallclock | Converts a 64 bit timestamp value to an xs:dateTime. |
| xdmp:user-last-login | Returns the last-login node for the specified user ID. |
| xdmp:wallclock-to-timestamp | Converts an xs:dateTime to a 64 bit timestamp value. |
| xdmp:xor64 | XOR two 64-bit integer values. |
Copyright © 2010–2013 MarkLogic Corporation. All rights reserved. | Powered by
MarkLogic Server and rundmc.