4.15 Namespace Editor

The Policy Builder enables you to use multiple XML namespaces within your XML documents. You launch the Namespace editor when you access the following DirXML Script elements in the Policy Builder:

  1. Click the Edit the policy’s namespace definitions Edit the policy’s namespace definitions icon icon.

  2. Specify the namespace prefix.

  3. Specify the URI.

  4. Do not select Java Extension.

    Namespace editor

You can also access Java* classes through XPath by using XML namespaces. To create a namespace for a Java class, specify the namespace prefix in the Name field, the class name in the URI field, and select the Java Extension check box.

4.15.1 Accessing Java Classes Using Namespaces

Novell provides several Identity Manager Java classes that can be called by using XPath expressions from the Policy Builder. The following links open Javadoc references for these Java classes:

The Java Developer Kit (JDK*) also provides several useful classes, such as java.lang.String, and java.lang.System. References for these classes are available with the JDK.

For additional information on using XPath and the Novell Java classes listed above, consult the DirXML® Driver Developer Kit.