cliMOProfile.xsl revision 3215
3361N/A ! The contents of this file are subject to the terms of the 3361N/A ! Common Development and Distribution License, Version 1.0 only 3361N/A ! (the "License"). You may not use this file except in compliance 4781N/A ! You can obtain a copy of the license at 4781N/A ! See the License for the specific language governing permissions 4781N/A ! and limitations under the License. 3361N/A ! When distributing Covered Code, include this CDDL HEADER in each ! file and include the License file at ! add the following below this CDDL HEADER, with the fields enclosed ! by brackets "[]" replaced with your own identifying information: ! Portions Copyright [yyyy] [name of copyright owner] ! Copyright 2008 Sun Microsystems, Inc. <
xsl:
stylesheet version="1.0" <
xsl:
output method="text" encoding="us-ascii" />
Determine if the managed object is for customization. test="$this/adm:profile[@name='cli']/cli:managed-object/@custom='true'">
<
xsl:
value-
of select="'is-for-customization=true
'" />
<
xsl:
value-
of select="'is-for-customization=false
'" />
Process each relation definition. <
xsl:
for-
each select="$this-all-relations">
<
xsl:
sort select="@name" />
Generate the naming argument override if present select="concat('relation.', @name, '.naming-argument-override=', adm:profile[@name='cli']/cli:relation/@naming-argument-override, Generate list of properties which should be displayed by default in list-xxx operations. select="concat('relation.', @name, '.list-properties=')" />
select="adm:profile[@name='cli']/cli:relation/cli:default-property">
<
xsl:
value-
of select="@name" />
<
xsl:
if test="current() != last()">
<
xsl:
value-
of select="','" />
<
xsl:
value-
of select="'
'" />