techtonik Sat Nov 13 12:49:43 2004 EDT
Added files:
/phpdoc/xsl quickref.xsl
Modified files:
/phpdoc/xsl README.txt
Log:
[add] quickref.xsl template for generating quick-reference
http://cvs.php.net/diff.php/phpdoc/xsl/README.txt?r1=1.1&r2=1.2&ty=u
Index: phpdoc/xsl/README.txt
diff -u phpdoc/xsl/README.txt:1.1 phpdoc/xsl/README.txt:1.2
--- phpdoc/xsl/README.txt:1.1 Wed Nov 10 17:37:12 2004
+++ phpdoc/xsl/README.txt Sat Nov 13 12:49:41 2004
@@ -14,6 +14,8 @@
the code to be found under the functable repository in
CVS or ask Hartmut =) mailto:[EMAIL PROTECTED]
+QUICKREF.XSL - for building functions quick reference
+
All others are deprecated.
@@ -53,4 +55,4 @@
Contact him or the phpdoc list ([EMAIL PROTECTED]) if you have any questions
or suggestions...
-Last modified $Date: 2004/11/10 22:37:12 $
\ No newline at end of file
+Last modified $Date: 2004/11/13 17:49:41 $
\ No newline at end of file
http://cvs.php.net/co.php/phpdoc/xsl/quickref.xsl?r=1.1&p=1
Index: phpdoc/xsl/quickref.xsl
+++ phpdoc/xsl/quickref.xsl
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
quickref.xsl: Stylesheet for generating quick-reference
$Id: quickref.xsl,v 1.1 2004/11/13 17:49:41 techtonik Exp $
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="text"/>
<xsl:template match="*"/>
<xsl:template match="/">
<xsl:apply-templates select="//refnamediv">
<xsl:sort select="refname"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="refnamediv">
<xsl:value-of select="normalize-space(refname)"/>
<xsl:text> - </xsl:text>
<xsl:value-of select="normalize-space(refpurpose)"/>
<xsl:text>
</xsl:text>
</xsl:template>
</xsl:stylesheet>