XPATH to strip all but 1st instance

The following snippet of an XSLT stylesheet shows how to remove everything from an XDS document except for the 1st node. This code is implemented as part of the Secondary Account Management Loopback Connector when: A Resource is assigned, revoked, or deleted The Object concerned has more than one Secondary account already assigned As you can probably gather, the number … Read More

IDM, reading the Driver filter

Sometimes you might want to read the Driver filter and process the data. The code below shows how to accomplish this: Set a node-set local variable for the Driver DN (not shown) Query the Driver, and read three attributes. One of the attributes read is the DirXML-DriverFilter attribute Set a node-set local variable for the Filter. The DirXML-DriverFilter attribute is … Read More