Hi,

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.

Thanks

Tom

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