
186
Policies in Designer 3.5
no
vd
ocx
(e
n)
13
Ma
y 20
09
The ECMAScript calls the getB64ImageFromURL function, which then returns the current value as
a string.
11.3.2 XSLT Policy Calling an ECMAScript Function at the
Driver Level
The XSLT policy either splits a single comma-delimited value into multiple values, or joins multiple
values into a single comma-delimited value. The XSLT policy is defined at the driver level and can
be used as an Input Transformation or Output Transformation policy.
NOTE:
DirXML Script has the split and join functionality built into it, but XSLT does not. This
type of function allows XSLT to have the split and join functionality.
There are two functions:
“Join” on page 186
“Split” on page 186
Join
The Join function joins the text values of Nodes in a NodeSet into a single string
<!-- template that joins the joinme attribute values into a single value -->
<xsl:template match="*[@attr-name='joinme']//*[value] | *[@attr-
name='joinme'][value]">
<xsl:copy>
<xsl:apply-templates select="@*|node()[not(self::value)]"/>
<value>
<xsl:value-of select="es:join(value)"/>
</value>
</xsl:copy>
</xsl:template>
Function:
<static> String join(<NodeSet> nodeSet, <string> delimiter)
Parameters:
nodeSet (the input NodeSet) and delimiter (the delimiter to split on. Optional: default
= none).
Returns:
The concatenation of the string values of the Nodes in the nodeSet, separated by the
delimiter.
Split
The Split function splits a string into a NodeSet.
<!-- template that splits the splitme attribute values into multiple values -
->
<xsl:template match="*[@attr-name='splitme']//value">
<xsl:for-each select="es:split(string(.))">
<value>
<xsl:value-of select="."/>
</value>
</xsl:for-each>
</xsl:template>
Summary of Contents for Designer for Identity Manager 3.5
Page 4: ...4 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 20: ...20 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 44: ...44 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 76: ...76 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 92: ...92 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 108: ...108 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 144: ...144 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 174: ...174 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 188: ...188 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 223: ...Conditions 223 novdocx en 13 May 2009...
Page 231: ...Conditions 231 novdocx en 13 May 2009...
Page 232: ...232 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 237: ...Actions 237 novdocx en 13 May 2009...
Page 245: ...Actions 245 novdocx en 13 May 2009...
Page 247: ...Actions 247 novdocx en 13 May 2009...
Page 263: ...Actions 263 novdocx en 13 May 2009...
Page 271: ...Actions 271 novdocx en 13 May 2009...
Page 275: ...Actions 275 novdocx en 13 May 2009 Example...
Page 324: ...324 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 333: ...Noun Tokens 333 novdocx en 13 May 2009...
Page 357: ...Verb Tokens 357 novdocx en 13 May 2009...
Page 363: ...Verb Tokens 363 novdocx en 13 May 2009 Example...
Page 390: ...390 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 418: ...418 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 474: ...474 Policies in Designer 3 5 novdocx en 13 May 2009...