Hi

What is the correct syntax for a data modification using XSLT???

For example, IDM is to modify the field "Description" class "OU"
and the target is a database over a field "Name" in the table "Company"


<xsl:template match="modify[@class-name='Organizational Unit']">
<xsl:variable name="MofIns" select="string(operation-data/@ModIns)"/>
<xsl:if test="$MofIns = 'true'">
<xsl:variable name="AUDITNOMBRE"
select="./modify-attr[@attr-name='Description']/add-value/value"/>
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
<xsl:variable name="start-update">
<modify class-name="company" dest-dn="{@src-dn}">
<modify-attr attr-name="name">
<remove-all-values/>
<add-value>
<value>
<xsl:value-of select="$AUDITNOMBRE"/>
</value>
</add-value>
</modify-attr>
</modify>
</xsl:variable>
</xsl:if>
</xsl:template>


PD.

previously, in the creation event is generated the respective
ASSOCIATION.

with this code in XSLT I see the following error:

DirXML Log Event -------------------
Driver: \TREE-DEV\novell\servicios\Driverset-1\MID-BDPMORAL
Channel: Subscriber
Object: \TREE-DEV\data\Institution\People\9011
Status: Warning
Message: Column 'name' is undefined on table/view 'company' or is
unsyncable.


thanks


--
eden_silva
------------------------------------------------------------------------
eden_silva's Profile: https://forums.netiq.com/member.php?userid=234
View this thread: https://forums.netiq.com/showthread.php?t=45065