1008N/A<!--
1008N/A ! CDDL HEADER START
1008N/A !
1008N/A ! The contents of this file are subject to the terms of the
1008N/A ! Common Development and Distribution License, Version 1.0 only
1008N/A ! (the "License"). You may not use this file except in compliance
1008N/A ! with the License.
1008N/A !
6983N/A ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
6983N/A ! or http://forgerock.org/license/CDDLv1.0.html.
1008N/A ! See the License for the specific language governing permissions
1008N/A ! and limitations under the License.
1008N/A !
1008N/A ! When distributing Covered Code, include this CDDL HEADER in each
6983N/A ! file and include the License file at legal-notices/CDDLv1_0.txt.
6983N/A ! If applicable, add the following below this CDDL HEADER, with the
6983N/A ! fields enclosed by brackets "[]" replaced with your own identifying
6983N/A ! information:
1008N/A ! Portions Copyright [yyyy] [name of copyright owner]
1008N/A !
1008N/A ! CDDL HEADER END
1008N/A !
1008N/A !
4129N/A ! Copyright 2008-2009 Sun Microsystems, Inc.
7205N/A ! Portions copyright 2011-2014 ForgeRock AS
1008N/A ! -->
1008N/A<xsl:stylesheet version="1.0"
1008N/A xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
1008N/A <!--
1008N/A This XSLT file contains a list of acronyms and abbreviations which should
1008N/A be converted to upper-case when used in applications (e.g. as Java names).
1008N/A -->
1008N/A <!--
1008N/A Determines whether or not the provided word is a known abbreviation or
1008N/A acronym.
1155N/A
1008N/A @param value The word.
1155N/A
1008N/A @return Returns the string "true" if the word is an abbreviation.
1008N/A -->
1008N/A <xsl:template name="is-abbreviation">
1008N/A <xsl:param name="value" select="/.." />
1008N/A <xsl:value-of
1155N/A select="$value = 'aci' or $value = 'ip' or $value = 'ssl'
1008N/A or $value = 'dn' or $value = 'rdn' or $value = 'jmx'
1155N/A or $value = 'smtp' or $value = 'http' or $value = 'https'
1008N/A or $value = 'ldap' or $value = 'ldaps' or $value = 'ldif'
1008N/A or $value = 'jdbc' or $value = 'tcp' or $value = 'tls'
1008N/A or $value = 'pkcs11' or $value = 'sasl' or $value = 'gssapi'
1242N/A or $value = 'md5' or $value = 'je' or $value = 'dse'
2334N/A or $value = 'fifo' or $value = 'vlv' or $value = 'uuid'
2334N/A or $value = 'md5' or $value = 'sha1' or $value = 'sha256'
2334N/A or $value = 'sha384' or $value = 'sha512' or $value = 'tls'
2440N/A or $value = 'des' or $value = 'aes' or $value = 'rc4'
4129N/A or $value = 'db' or $value = 'snmp' or $value = 'qos'
5929N/A or $value = 'ecl' or $value = 'ttl' or $value = 'jpeg'
7205N/A or $value = 'pbkdf2' or $value = 'pkcs5s2'
1242N/A "/>
1008N/A </xsl:template>
1008N/A</xsl:stylesheet>