There are several points at which you can modify the .xsl scripts used in the application.
To modify the sample XSL style sheets, you can:
<!-- Specify your LDAP Server -->
<xsl:variable name="server"><xsl:copy-of select="$LDAPHost"/></xsl:variable>
<xsl:variable name="bindDN"><xsl:copy-of select="$LDAPCN"/></xsl:variable>
<xsl:variable name="bindPassword"><xsl:copy-of
select="$LDAPPassword"/></xsl:variable>
<xsl:variable name="port"><xsl:copy-of select="$LDAPPort"/></xsl:variable>
The
following variables are defined in the soavars.xsl style
sheet:<xsl:variable name="LDAPHost" select='"yourldap.something.com"' />
<xsl:variable name="LDAPPort" select='"389"' />
<xsl:variable name="LDAPCN" select='"cn=root"' />
<xsl:variable name="LDAPPassword" select='"passw0rd"' />
<xsl:variable name="StoreGWHost" select='"yourDatapowerName"' />
<xsl:variable name="StoreGWPort" select='"62151"' />
The
sample contains an unencrypted password to the LDAP Server, it could
be that you want to customize the provided style sheet to decrypt
an encrypted password.<!-- Specify base DN to begin search -->
<xsl:variable name="baseDN">dc=ibm.com</xsl:variable>
The baseDN is
hard coded as dc=ibm.com. If you have configured
your LDAP with a different Suffix, baseDN, change this line to customize
the sample.<!-- private access only fields -->
<xsl:template match="price">
<price>0.0</price>
</xsl:template>
<xsl:template match="Price">
<Price>0.0</Price>
</xsl:template>
Later, the style sheet performs an identity
transform on all other elements.