| | |
| | | '=', |
| | | normalize-space(adm:profile[@name='ldap']/ldap:rdn-sequence), |
| | | '
')" /> |
| | | <xsl:choose> |
| | | <xsl:when |
| | | test="adm:profile[@name='ldap']/ldap:naming-attribute"> |
| | | <xsl:value-of |
| | | select="concat('naming-attribute.', |
| | | normalize-space(@name), |
| | | '=', |
| | | normalize-space(adm:profile[@name='ldap']/ldap:naming-attribute), |
| | | '
')" /> |
| | | </xsl:when> |
| | | <xsl:otherwise> |
| | | <xsl:value-of |
| | | select="concat('naming-attribute.', normalize-space(@name), '=cn
')" /> |
| | | </xsl:otherwise> |
| | | </xsl:choose> |
| | | </xsl:for-each> |
| | | </xsl:template> |
| | | </xsl:stylesheet> |