|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21585/root/usr/share/scrollkeeper/stylesheets/ |
Upload File : |
<?xml version='1.0'?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY sep '" "'>
<!ENTITY comma '", "'>
]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:output method="html" indent="yes"/>
<xsl:template match="ScrollKeeperContentsList">
<html>
<head><title>ScrollKeeper Contents List Categories</title></head>
<body bgcolor="#FFFFFF">
<h1 align="center">ScrollKeeper Contents List Categories</h1>
<xsl:apply-templates select="sect">
<xsl:with-param name="indentlevel" select="0"/>
</xsl:apply-templates>
</body>
</html>
</xsl:template>
<xsl:template match="sect">
<xsl:param name="indentlevel"/>
<blockquote>
<xsl:if test="$indentlevel='0'">
<b><xsl:value-of select="title"/></b>
</xsl:if>
<xsl:if test="$indentlevel>'0'">
<xsl:value-of select="title"/>
</xsl:if>
<xsl:apply-templates select="sect">
<xsl:with-param name="indentlevel" select="$indentlevel+1"/>
</xsl:apply-templates>
</blockquote>
</xsl:template>
</xsl:stylesheet>