I was reading through an older JDBC driver, and ran into the XSLT:

<xsl:template match="input/modify[@class-name='User']"
xmlns:Mapping="http://www.novell.com/nxsl/java/com.novell.nds.dirxml.driver.jdbc.util.MappingPoli cy"
xmlns:query="http://www.novell.com/nxsl/java/com.novell.nds.dirxml.driver.XdsQueryProcessor">
<xsl:copy>
<xsl:variable name="attrs" select="modify-attr[@attr-name='GUID']"/>
<!--xsl:variable name="blah" select="Mapping:FirstPerReplica(.,
$attrs, $srcQueryProcessor)"/-->
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>

I know that the line is commented, but I am not familiar with the Java
functions made available via the mapping:

Mapping="http://www.novell.com/nxsl/java/com.novell.nds.dirxml.driver.jdbc.util.MappingPoli cy

And does the FirstPerReplica function do?

Ok, looking through the docs, the best I can find is in the JDBC driver
docs a reference:

Implement a first or last value per replica policy in style sheets by
using methods provided in the
com.novell.nds.indirect.driver.jdbc.util.MappingPo licy class. Under a
first-value-per-replica (FPR) policy, the first attribute value on the
eDirectory replica is always synchronized. Under a
last-value-per-replica (LPR) policy, the last attribute value on a
replica is always synchronized. By using global configuration values,
you can configure the sample driver configuration to use either FPR or
LPR mapping policies. Multivalue to single-value attribute mapping
policies are contained in the Subscriber Command Transformation policy
container. The sample driver configuration maps the multivalue
eDirectory attributes Given Name and Surname to the single-value columns
fname and lname respectively.



Anyone know where more detailed docs reside? Like available functions?