I'm running the JDBC 1.6.4 driver to connect to a MSSQL 2000 database. I'm
using this database to collect and publish updates to the ID Vault. I'm not
using this connector to manage SQL accounts. I found the following
Subscriber Output Transform Policy to map multi-valued attributes to
single-value fields.



</xsl:template>
<!-- Handles mapping of multi-valued attributes to single-valued fields -->
<xsl:template match="query[@class-name='emp']"
xmlns:Mapping="http://www.novell.com/nxsl/java/com.novell.nds.dirxml.driver.
jdbc.util.MappingPolicy"
xmlns:query="http://www.novell.com/nxsl/java/com.novell.nds.dirxml.driver.Xd
sQueryProcessor">
<xsl:copy>
<xsl:variable name="attrs" select="search-attr[@attr-name='fname' or
@attr-name='lname' or @attr-name='faxno']"/>
<xsl:variable name="blah" select="Mapping:FirstPerReplica(., $attrs,
$srcQueryProcessor)"/>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>





I would like to do the same thing on the publisher channel so I can map
single valued SQL entries to multi-valued eDir attributes. I need this so I
can overwrite values such as fax number in the ID Vault. Can I use the same
policy on the publisher channel? What changes do I need to make?



Greg Niemeyer