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