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