token-src-dn

Expands to the source DN specified in the current operation or a portion thereof. If start and length are not specified or are set to the default values {0,-1}, then the entire DN is used; otherwise, only the portion of the DN specified by start and length is used. The format of the DN is converted to the format of the destination data store if the convert attribute is set to true.

Example

<token-src-dn/>

Allowed Content

EMPTY

Attributes

Attribute

Possible Values

Default Value

convert

true | false

Convert to the DN format of the destination data store.

false

length

CDATA

The number of DN segments to include negative numbers are interpreted as (total # of segments + length) + 1. For example, for a DN with 5 segments a length of -1 = (5 + (-1)) + 1 = 5, -2 = (5 + (-2)) + 1 = 4, etc.

-1

notrace

true | false

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

false

start

CDATA

The segment index to start with: 0 is the rootmost segment. >0 is an offset from the rootmost segment. -1 is the leafmost segment. <-1 is an offset from the leafmost segment towards the rootmost segment.

0

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-password

Password argument.

arg-string

String argument.

arg-value

Value argument.

token-base64-decode

Decode base64 data into a string.

token-base64-encode

Encode a string into base64 data.

token-convert-time

Convert a data/time from one format to another format.

token-escape-for-dest-dn

Convert a string for use in the destination DN.

token-escape-for-src-dn

Convert a string for use in a source DN.

token-join

Join a node set into a string.

token-lower-case

Convert a string to lowercase.

token-map

Map a string through a mapping table.

token-parse-dn

Parses or converts a DN.

token-replace-all

Replaces all instances of a substring with a string.

token-replace-first

Replaces a single instance of a substring within 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.