⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 part_fsi_prop.html

📁 暂时不定 我 也不知道 你怎么还非得 让 我说 就是这2样哦
💻 HTML
字号:
<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:msxsl="urn:schemas-microsoft-com:xslt"
  version="1.0">

<xsl:output
  method="html"
  version="4.0"
  encoding="UTF-8"
  omit-xml-declaration="yes"
  indent="yes"/>

<xsl:template match="/Root">

<html>
  <xsl:variable name="FSName" select="PropertyBag/Property[@name='PROPID_HDM_INTERNALFSNAME']"/>

  <TABLE>
    <TR>
      <TD align="left" colspan="2">
        <xsl:choose>
          <xsl:when test="$FSName='INVALID'">
            <h2>QT_TRANSLATE_NOOP("QObject", "Invalid partition")</h2>
          </xsl:when>
          <xsl:when test="$FSName='NOTFORMATTED'">
            <h2>QT_TRANSLATE_NOOP("QObject", "Not formatted partition")</h2>
          </xsl:when>
          <xsl:otherwise>
            <h2><xsl:value-of select="PropertyBag/Property[@name='PROPID_DISPLAYNAME']"/></h2>
          </xsl:otherwise>
        </xsl:choose>
        <img src="hline_gray"/>
      </TD>
    </TR>

    <xsl:if test="$FSName != 'UNKNOWN' and $FSName != 'INVALID'">
    <TR>
      <TD align="right">
        <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_FSNAME']"/></b></nobr>
      </TD>
      <TD align="left">
          <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_FSNAME']"/></nobr>
      </TD>
    </TR>
    </xsl:if>

    <xsl:choose>
      <xsl:when test="$FSName='FAT16'">
        <TR>
          <TD align="right">
            <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_BOOTSIZE']"/></b></nobr>
          </TD>
          <TD align="left">
            <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_BOOTSIZE']"/></nobr>
          </TD>
        </TR>
        <TR>
          <TD align="right">
            <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_CLUSTERSIZE']"/></b></nobr>
          </TD>
          <TD align="left">
            <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CLUSTERSIZE']"/></nobr>
          </TD>
        </TR>
        <TR>
          <TD align="right">
            <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_ROOTSIZE']"/></b></nobr>
          </TD>
          <TD align="left">
            <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_ROOTSIZE']"/></nobr>
          </TD>
        </TR>
      </xsl:when>

      <xsl:when test="$FSName='FAT32'">
        <TR>
          <TD align="right">
            <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_CLUSTERSIZE']"/></b></nobr>
          </TD>
          <TD align="left">
            <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CLUSTERSIZE']"/></nobr>
          </TD>
        </TR>
        <TR>
          <TD align="right">
            <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_BOOTSIZE']"/></b></nobr>
          </TD>
          <TD align="left">
            <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_BOOTSIZE']"/></nobr>
          </TD>
        </TR>
      </xsl:when>

      <xsl:when test="$FSName='NTFS'">
        <TR>
          <TD align="right">
            <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_NTFSVERSIONSTRING']"/></b></nobr>
          </TD>
          <TD align="left">
            <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_NTFSVERSIONSTRING']"/></nobr>
          </TD>
        </TR>
        <TR>
          <TD align="right">
            <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_HDDSECTORSIZE_STRING']"/></b></nobr>
          </TD>
          <TD align="left">
            <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_HDDSECTORSIZE_STRING']"/></nobr>
          </TD>
        </TR>
        <TR>
          <TD align="right">
            <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_CLUSTERSIZE']"/></b></nobr>
          </TD>
          <TD align="left">
            <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CLUSTERSIZE']"/></nobr>
          </TD>
        </TR>
      </xsl:when>

      <xsl:when test="$FSName='INVALID'">
        <TR>
          <TD align="right">
            <nobr><b>QT_TRANSLATE_NOOP("QObject", "File system type")</b></nobr>
          </TD>
          <TD align="left">
            <p>
                QT_TRANSLATE_NOOP("QObject", "Unknown")
            </p>
            <p>
              QT_TRANSLATE_NOOP("QObject", "<ProductName> has discovered problems with this partition. It must have been caused by an incorrect geometry. In order to resolve the issue, please collect LOG-files and send them to our Support Team")
            </p>
          </TD>
        </TR>
      </xsl:when>

    </xsl:choose>

  </TABLE>

</html>
</xsl:template>

</xsl:stylesheet>


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -