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