token-xpath

Expands to results of evaluating an XPath 1.0 expression. If its parent element is <arg-node-set> and the expression returns a node set, then the node set is returned as is. If its parent element is <arg-node-set> and the expression returns a data type other than node set, then a text node is containing the string value of the result is returned. Otherwise, the string value of the result is returned.

Example

<token-xpath
expression="*[@attr-name='OU']//value[starts-with(string(.),'xxx')]"/>

Allowed Content

EMPTY

Attributes

Attribute

Possible Values

Default Value

expression

CDATA

XPath expression.

#REQUIRED

notrace

true | false

True if this element should not be traced during execution of the policy.

false

Content Declaration

Empty

Parent Elements

Element

Description

arg-association

Association argument.

arg-component

Component argument.

arg-dn

DN argument.

arg-node-set

Node set argument.

arg-object

Java Object argument

arg-password

Password argument.

arg-string

String argument.

arg-value

Value argument.

token-base64-decode

Decodes base64 data into a string.

token-base64-encode

Encodes a string into base64 data.

token-convert-time

Converts a date/time from one format to another.

token-escape-for-dest-dn

Converts a string for use in a destination DN.

token-escape-for-src-dn

Converts a string for use in a source DN.

token-join

Joins a node set into a string.

token-lower-case

Converts a string to lowercase.

token-map

Maps a string through a mapping table.

token-parse-dn

Parses or converts a DN.

token-replace-all

Replaces all instances of a substring within a string.

token-replace-first

Replaces a single instance of a substring with a string.

token-split

Splits a string into a node set.

token-substring

Substring of a string.

token-upper-case

Converts a string to uppercase.

token-xml-parse

Parses XML.

token-xml-serialize

Serializes XML.