3. Content Rule
( arg-string * )
<token-json-object>constructs a JSON string from the enclosed <arg-string>s. Each <arg-string> is evaluated as a key-value pair where name in <arg-string> is the key and the enclosed text is evaluated as the value.
<token-json-object> <arg-string name="name"> <token-text xml:space="preserve">"Mike"</token-text> </arg-string> <arg-string name="age"> <token-text xml:space="preserve">40</token-text> </arg-string> <arg-string name="disabled"> <token-text xml:space="preserve">false</token-text> </arg-string> <arg-string name="rights"> <token-json-array> <arg-string> <token-text xml:space="preserve">"admin"</token-text> </arg-string> <arg-string> <token-text xml:space="preserve">"manager"</token-text> </arg-string> <arg-string> <token-text xml:space="preserve">"reviewer"</token-text> </arg-string> </token-json-array> </arg-string> </token-json-object>
The above example is evaluated as the following JSON string.
{"name":"Mike","age":40,"disabled":false,"rights":["admin","manager","reviewer"]}
- arg-string
- string argument
Attribute Value(s) Default Value notrace true | false
false
( arg-string * )
- 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 date/time from one format to another
- token-escape-for-dest-dn
- convert a string for use in a 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 lower case
- token-map
- map a string through a mapping table
- token-map-source-col
- used in token-map to have multiple source columns
- token-parse-dn
- parse and/or convert a DN
- token-replace-all
- replace all instances of a substring within a string
- token-replace-first
- replace a single instance of a substring within a string
- token-split
- split a string into a node-set
- token-substring
- substring of a string
- token-upper-case
- convert a string to upper case
- token-xml-parse
- parse XML
- token-xml-serialize
- serialize XML
Top Elements || All Elements || Tree