manifestMO.xsl revision 44d9730b69143d1fd7cd8b382b557e2c9d65225e
10139N/A<!--
10139N/A ! CDDL HEADER START
10139N/A !
10139N/A ! The contents of this file are subject to the terms of the
10139N/A ! Common Development and Distribution License, Version 1.0 only
10139N/A ! (the "License"). You may not use this file except in compliance
10139N/A ! with the License.
10139N/A !
10139N/A ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
10139N/A ! or http://forgerock.org/license/CDDLv1.0.html.
10139N/A ! See the License for the specific language governing permissions
10139N/A ! and limitations under the License.
10139N/A !
10285N/A ! When distributing Covered Code, include this CDDL HEADER in each
10139N/A ! file and include the License file at legal-notices/CDDLv1_0.txt.
10139N/A ! If applicable, add the following below this CDDL HEADER, with the
10139N/A ! fields enclosed by brackets "[]" replaced with your own identifying
10139N/A ! information:
10285N/A ! Portions Copyright [yyyy] [name of copyright owner]
10139N/A !
10139N/A ! CDDL HEADER END
10139N/A !
10139N/A !
10139N/A ! Copyright 2008 Sun Microsystems, Inc.
10139N/A ! -->
10139N/A<xsl:stylesheet version="1.0" xmlns:adm="http://opendj.forgerock.org/admin"
10139N/A xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
10139N/A <xsl:import href="java-utilities.xsl" />
10139N/A <xsl:output method="text" encoding="us-ascii" />
10139N/A <!--
10139N/A Main document parsing template.
10139N/A -->
10139N/A <xsl:template match="/">
10139N/A <xsl:choose>
10139N/A <xsl:when test="adm:root-managed-object">
10139N/A <xsl:value-of
10139N/A select="'org.forgerock.opendj.server.config.meta.RootCfgDefn&#xa;'" />
10139N/A </xsl:when>
10139N/A <xsl:when test="adm:managed-object">
10139N/A <xsl:value-of
10139N/A select="normalize-space(adm:managed-object/@package)" />
10139N/A <xsl:value-of select="'.meta.'" />
10139N/A <xsl:call-template name="name-to-java">
10139N/A <xsl:with-param name="value"
10139N/A select="normalize-space(adm:managed-object/@name)" />
10139N/A </xsl:call-template>
10139N/A <xsl:value-of select="'CfgDefn&#xa;'" />
10139N/A </xsl:when>
10139N/A </xsl:choose>
10139N/A </xsl:template>
10139N/A</xsl:stylesheet>
10139N/A