Skip to content
Browse files
Added style sheet for the category documentation.
  • Loading branch information
jeresig committed Sep 1, 2006
1 parent 484af2a commit 905a0ae
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
@@ -0,0 +1,22 @@
html, body {
background: #FFF;
color: #000;
font-family: Arial;
font-size: 12px;

h2 {
clear: both;
border-bottom: 1px solid #EEE;
margin-top: 15px;

ul {
list-style: none;
overflow: auto;

li {
float: left;
width: 20%;
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="" version="2.0">
<xsl:output method="html"/>
<xsl:template match="/docs">
<html xmlns="">
<title>jQuery Printable API</title>
<link rel="stylesheet" href="style/cat.css"/>
<h1>jQuery Printable API</h1>

<xsl:template match="cat">
<h2><xsl:value-of select="@value"/></h2>
<ul class="list">
<xsl:for-each select="method[not(@private)]">
<xsl:sort select="@name"/>
<xsl:sort select="count(params)"/>
<xsl:value-of select="@name"/>(<xsl:for-each select="params">
<xsl:value-of select="@name"/>
<xsl:if test="position() != last()">, </xsl:if>
<xsl:apply-templates select="cat"/>

0 comments on commit 905a0ae

Please sign in to comment.