1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
3 <xsl:output method="html"/>
4 <xsl:template match="/docs">
5 <html xmlns="http://www.w3.org/1999/xhtml">
7 <title>jQuery Printable API</title>
8 <link rel="stylesheet" href="style/cat.css"/>
11 <h1>jQuery Printable API</h1>
12 <xsl:apply-templates/>
17 <xsl:template match="cat">
18 <h2><xsl:value-of select="@value"/></h2>
20 <xsl:for-each select="method[not(@private)]">
21 <xsl:sort select="@name"/>
22 <xsl:sort select="count(params)"/>
24 <xsl:value-of select="@name"/>(<xsl:for-each select="params">
25 <xsl:value-of select="@name"/>
26 <xsl:if test="position() != last()">, </xsl:if>
30 <xsl:apply-templates select="cat"/>