I am using IDM 2 and the Lotus Notes driver and needed to alter the way
that the MailFile was set. I have managed to do this using XSLT. I also
need to set the user-id-file attribute (ID File Name). I tried the same
approach as MailFile, but it doesn't work it just uses the driver
default, e.g. FirstNameSurname.id.

Any ideas?

Please see an extract of the XSLT below.



<xsl:template match="add">
<!-- Add some stuff and copy the Add through -->
<!-- Copy everything else through -->
<xsl:apply-templates select="@*|node()"/>
<xsl:variable name="mf" select="concat
<xsl:variable name="id" select="concat(add-attr
<add-attr attr-name="MailFile">
<value type="string">
<xsl:value-of select="$mf"/>
<add-attr attr-name="user-id-file">
<value type="string">
<xsl:value-of select="$id"/>