cvs: livedocs / toc.xsl

From: Date: Thu, 02 Sep 2004 13:41:58 +0000
Subject: cvs: livedocs / toc.xsl
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969363719@lists.php.net to get a copy of this message
goba Thu Sep 2 09:41:58 2004 EDT Modified files: /livedocs toc.xsl Log: support for refgroup tags (instead of overloading sections) http://cvs.php.net/diff.php/livedocs/toc.xsl?r1=1.3&r2=1.4&ty=u Index: livedocs/toc.xsl diff -u livedocs/toc.xsl:1.3 livedocs/toc.xsl:1.4 --- livedocs/toc.xsl:1.3 Sat Aug 14 17:34:05 2004 +++ livedocs/toc.xsl Thu Sep 2 09:41:58 2004 @@ -24,6 +24,7 @@ <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute> <xsl:attribute name="title"><xsl:value-of select="title"/></xsl:attribute> <xsl:apply-templates select="chapter"/> + <xsl:apply-templates select="refgroup"/> <xsl:apply-templates select="reference"/> <xsl:apply-templates select="appendix"/> </part> @@ -43,6 +44,15 @@ <xsl:attribute name="title"><xsl:value-of select="title"/></xsl:attribute> <xsl:apply-templates select="sect1|section"/> </appendix> +</xsl:template> + +<xsl:template match="refgroup"> +<part> + <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute> + <xsl:attribute name="title"><xsl:value-of select="title"/></xsl:attribute> + <xsl:apply-templates select="refgroup"/> + <xsl:apply-templates select="reference"/> +</part> </xsl:template> <xsl:template match="reference">

« previous php.doc (#969363719) next »