Mini Shell
<?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> </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">Information Not Available.</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">Information Not Available.</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">Information Not Available.</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">Information Not Available.</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>
<xsl:for-each select="Component">
<xsl:sort select="Name"/>
<xsl:choose>
<xsl:when test="ID = 'osia' and Name">
<!--IGNORE, AutDB provides only the version while name comes from OEM.ini-->
</xsl:when>
<xsl:when test="ID = 'OLD' or ID = 'old' or ID = 'odf' or ID = 'OLDCOMMON'">
<!--IGNORE, OLD is removed from OMSA, so hide OLD components details. -->
</xsl:when>
<xsl:otherwise>
<Data>
<xsl:attribute name="name">Contains_<xsl:value-of select="position()" /></xsl:attribute>
<xsl:choose>
<xsl:when test="position() < '2'">
<xsl:attribute name="display"><!--XLATESTART-->Contains <!--XLATESTOP--></xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="display"></xsl:attribute>
</xsl:otherwise>
</xsl:choose>
<xsl:attribute name="value">
<xsl:choose>
<xsl:when test="ID = 'osia'">
<xsl:choose>
<xsl:when test="(../OEMTitleCompanyName)!=''">
<xsl:value-of select="../OEMTitleCompanyName" /><xsl:text> </xsl:text><xsl:value-of select="../OEMTitleCoreProductName" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="../OEMTitleCoreProductName" />
</xsl:otherwise>
</xsl:choose>
<br/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Name" />
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test="ID = 'osia'">
<xsl:text> </xsl:text><xsl:value-of select="../OEMTitleVersion" />
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text>
<xsl:value-of select="Version" />
<!-- Add build number for oma framework -->
<xsl:if test="ID = 'OMACORE' or ID = 'omacore' ">
<xsl:variable name="buildNum"><xsl:value-of select="BuildNumber"/></xsl:variable>
<xsl:if test="$buildNum != ''"> (<xsl:value-of select="$buildNum"/>)</xsl:if>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</Data>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
<Data emptyline="true">
</Data>
</xsl:template>
</xsl:stylesheet>
Zerion Mini Shell 1.0