Apache2-AutoIndex-XSLT
view release on metacpan or search on metacpan
examples/apache/htdocs/index.xslt view on Meta::CPAN
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:output encoding="iso-8859-1" method="html" indent="yes" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"/>
<xsl:variable name="mycomputer_root" select="'true'"/>
<xsl:variable name="sortorder_href">
<xsl:choose>
<xsl:when test="/index/options/option[@name='O']/@value = 'D'"><xsl:text>A</xsl:text></xsl:when>
<xsl:otherwise><xsl:text>D</xsl:text></xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="sortorder">
<xsl:choose>
<xsl:when test="/index/options/option[@name='O']/@value = 'D'"><xsl:text>descending</xsl:text></xsl:when>
t/htdocs/index.xslt view on Meta::CPAN
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output encoding="iso-8859-1" method="html" indent="yes" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"/>
<xsl:variable name="mycomputer_root" select="'false'"/>
<xsl:variable name="sortorder_href">
<xsl:choose>
<xsl:when test="/index/options/option[@name='O']/@value = 'D'"><xsl:text>A</xsl:text></xsl:when>
<xsl:otherwise><xsl:text>D</xsl:text></xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="sortorder">
<xsl:choose>
<xsl:when test="/index/options/option[@name='O']/@value = 'D'"><xsl:text>descending</xsl:text></xsl:when>
( run in 1.336 second using v1.01-cache-2.11-cpan-49f99fa48dc )