RoxenCMS 5.4Web Developer ManualXSLT/XPath Functions

   

rxml:cookie
rxml:get-permlink
rxml:iso-gmtime
rxml:iso-time
rxml:metadata
rxml:mktime
rxml:node-set
rxml:pike-expression
rxml:resolve-permlink
rxml:variable
boolean
ceiling
concat
contains
count
current
document
element-available
false
floor
format-number
function-available
generate-id
id
key
lang
last
local-name
name
namespace-uri
normalize-space
not
number
position
round
starts-with
string
string-length
substring
substring-after
substring-before
sum
system-property
translate
true
unparsed-entity-uri

document()

Arguments:    object, [node-set]
Returns: node-set

Allows accesses to XML documents other than the main source document. If the first argument is a node-set the result is the union of calling document() with the string-value of node in the node-set as the first parameter.

If the first argument is not a node-set it is converted to a string and then treated as a URI reference. The resource identified by this URI is retrieved and parsed as an XML document.

Note!

The second parameter is not implemented. The URI reference may only be an absolute or relative path in the file system. URI fragment identifiers (e.g. #section) are not supported.

Note!

When using a file name without any path prefix (i.e. no / is included) the name may be prefixed with either ancestor:: or ancestor-or-self:: to signal that Roxen CMS should search for the file starting in the parent directory of, or same directory as, respectively, the current content page. This is a Roxen-specific extension.

See also the XSLT specification.