Mini Shell

Direktori : /opt/dell/srvadmin/var/lib/openmanage/xslroot/oma/cli/
Upload File :
Current File : //opt/dell/srvadmin/var/lib/openmanage/xslroot/oma/cli/about.xsl

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<xsl:template match="OMA">
		<DataArea>
			<ListData>
					<xsl:apply-templates select="About"/>
			</ListData>
			<xsl:if test="About/AutoDetectStatus">	
				<xsl:text>Latest OpenJDK available for download</xsl:text>			
				<ListData>									
						<Data>
							<xsl:attribute name="display"><!--XLATETHIS-->Version<!--/XLATETHIS--></xsl:attribute>
							<xsl:attribute name="value">
							<xsl:choose>
								<xsl:when test="About/AutoDetectStatus = '0'"><xsl:value-of select="About/OpenJDKVersion"/></xsl:when>
								<xsl:when test="About/AutoDetectStatus = '1'"><!--XLATETHIS-->Error! Unable to retrieve the latest Redhat OpenJDK Version due to Internet connection or proxy settings.<!--/XLATETHIS--></xsl:when>
								<xsl:otherwise><!--XLATETHIS-->Error! Unable to retrieve the latest Redhat OpenJDK version.<!--/XLATETHIS--></xsl:otherwise>
							</xsl:choose>
							</xsl:attribute>
						</Data>						
						<xsl:if test="About/OpenJDKLink">
							<Data>
								<xsl:attribute name="display"><!--XLATETHIS-->Download Link<!--/XLATETHIS--></xsl:attribute>
								<xsl:attribute name="value"><xsl:value-of select="About/OpenJDKLink"/></xsl:attribute>
							</Data>
						</xsl:if>					
					<Data emptyline="true">
					</Data>			
				</ListData>
			</xsl:if>
			<xsl:text>iDRAC Service Module (iSM) is a lightweight software service that better integrates operating system (OS) related features with iDRAC and can be installed on Dell EMC 12th or later generations of PowerEdge servers. iSM has very little impact on the host processor and smaller memory footprint than "in-band" agents such as Dell EMC OpenManage Server Administrator (OMSA), thus expanding iDRAC management into supported host operating systems.</xsl:text>	
			<xsl:if  test="About/BrandCLI ='0'">				
				<xsl:text> Refer here for more details: https://www.dell.com/support/article/en-us/sln310557/dell-emc-idrac-service-module</xsl:text>
				<xsl:text>&#10;&#10;</xsl:text> <!-- Add an empty line before survery link information for proper visibility -->
				<xsl:text>Visit the URL to take a short survey about your usage of Server Administrator features: https://secure.opinionlab.com/ccc01/o.asp?id=woPbUDPc</xsl:text>
			</xsl:if>
		</DataArea>
	</xsl:template>
	<xsl:template match="About">
		<Data>
			<xsl:attribute name="display"><!--XLATETHIS-->Product name<!--/XLATETHIS--></xsl:attribute>
			<xsl:choose>
				<xsl:when test="ProductName"><xsl:attribute name="value"><xsl:value-of select="ProductName"/></xsl:attribute></xsl:when>
				<xsl:otherwise><xsl:attribute name="value"><!--XLATETHIS-->Information Not Available.<!--/XLATETHIS--></xsl:attribute></xsl:otherwise>
			</xsl:choose>
		</Data>
		<Data>
			<xsl:attribute name="display"><!--XLATETHIS-->Version<!--/XLATETHIS--></xsl:attribute>
			<xsl:choose>
				<xsl:when test="ProductVersion"><xsl:attribute name="value"><xsl:value-of select="ProductVersion"/></xsl:attribute></xsl:when>
				<xsl:otherwise><xsl:attribute name="value"><!--XLATETHIS-->Information Not Available.<!--/XLATETHIS--></xsl:attribute></xsl:otherwise>
			</xsl:choose>
		</Data>
		<Data>
			<xsl:attribute name="display"><!--XLATETHIS-->Copyright<!--/XLATETHIS--></xsl:attribute>
			<xsl:choose>
				<xsl:when test="LegalCopyright"><xsl:attribute name="value"><xsl:value-of select="LegalCopyright"/></xsl:attribute></xsl:when>
				<xsl:otherwise><xsl:attribute name="value"><!--XLATETHIS-->Information Not Available.<!--/XLATETHIS--></xsl:attribute></xsl:otherwise>
			</xsl:choose>
		</Data>
		<Data>
			<xsl:attribute name="display"><!--XLATETHIS-->Company<!--/XLATETHIS--></xsl:attribute>
			<xsl:choose>
				<xsl:when test="CompanyName"><xsl:attribute name="value"><xsl:value-of select="CompanyName"/></xsl:attribute></xsl:when>
				<xsl:otherwise><xsl:attribute name="value"><!--XLATETHIS-->Information Not Available.<!--/XLATETHIS--></xsl:attribute></xsl:otherwise>
			</xsl:choose>
		</Data>
		
		<xsl:if test="AutoDetectStatus">
			<Data>
				<xsl:attribute name="display"><!--XLATETHIS-->Latest Version<!--/XLATETHIS--></xsl:attribute>
				<xsl:attribute name="value">
				<xsl:choose>
					<xsl:when test="AutoDetectStatus = '0'"><xsl:value-of select="LatestVersion"/></xsl:when>
					<xsl:when test="AutoDetectStatus = '1'"><!--XLATETHIS-->Error! Unable to retrieve the latest Server Administrator release version due to Internet connection or proxy settings.<!--/XLATETHIS--></xsl:when>
					<xsl:otherwise><!--XLATETHIS-->Error! Unable to retrieve the latest Server Administrator release version.<!--/XLATETHIS--></xsl:otherwise>
				</xsl:choose>
				</xsl:attribute>
			</Data>
			
			<xsl:if test="DownloadLink">
				<Data>
					<xsl:attribute name="display"><!--XLATETHIS-->Download Link<!--/XLATETHIS--></xsl:attribute>
					<xsl:attribute name="value"><xsl:value-of select="DownloadLink"/></xsl:attribute>
				</Data>
		</xsl:if>
			</xsl:if>
		<Data emptyline="true">
		</Data>		
	</xsl:template>
</xsl:stylesheet>

Zerion Mini Shell 1.0