Append Xml Element - Novell POLICY IN DESIGNER 3.5 - 09-18-2009 Manual

Policies in designer 3.5
Table of Contents

Advertisement

Append XML Element

Appends a custom element, with the name specified in the Name field, to the set of elements
selected by the XPath expression. If Before XPath Expression is not specified, the new element is
appended after any existing children of the selected elements. If Before XPath Expression is
specified, it is evaluated relative to each of the elements selected by the expression to determine
which of the children to insert before. If Before XPath Expression evaluates to an empty node set or
a node set that does not contain any children of the selected element, the new element is appended
after any existing children; otherwise, the new element is inserted before each of the nodes in the
node set selected by before that are children of the selected node.
Fields
Name
Specify the tag name of the XML element. This name can contain a namespace prefix if the
prefix has been previously defined in this policy. Supports variable expansion. For more
information, see
XPath Expression
Specify an XPath 1.0 expression that returns a node set containing the elements to which the
new elements should be appended.
Insert
Select whether to insert the XPath expression before the source XPath expression or append the
XPath expression to the end of the current node in the destination XPath expression.
Before XPath Expression
Specify an XPath 1.0 expression that evaluates relative to each of the nodes selected by the
expression that returns a node set containing the child nodes that the new elements should be
inserted before. Supports variable expansion. For more information on variable expansion and
XPath, see
Remarks
For more information on using XPath expressions with policies, see
Understanding Policies for Identity Manager
Example
If you are implementing Novell
Command Transformation policy that uses the XPath Expression condition. The sample file is called
SampleSubCommandTransform.xml
Manager media. For more information, see
Understanding Policies for Identity Manager
SampleSubCommandTransform.xml
The sample file uses the append XML element action to add the Novell SecureLogin or Novell
SecretStore
244 Policies in Designer 3.5
Section 3.6, "Variable Selector," on page
Section 3.6.5, "XPath Expressions," on page
®
Credential Provisioning policies, there is a sample Subscriber
®
credentials to the user object when it is provisioned.
39.
3.6.
. It is found in the
\dirxml\utilities
"Example Credential Provisioning
3.6. To view the policy in XML, see
(../samples/SampleSubCommandTransform.xml).
35.
"XPath 1.0
Expressions" in
folder on the Identity
Policies" in

Advertisement

Table of Contents
loading

This manual is also suitable for:

Designer for identity manager 3.5

Table of Contents