goba Fri Mar 15 07:34:27 2002 EDT
Added files:
/phpdoc/xsl phpweb.xsl.in
Log:
Adding first bare bones version of phpweb generator XSL code
Index: phpdoc/xsl/phpweb.xsl.in
+++ phpdoc/xsl/phpweb.xsl.in
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
PHP.net web site specific stylesheet
[This is really a bare bones version of what the phpweb
sheets need to be. Needs much more logic!]
$Id: phpweb.xsl.in,v 1.1 2002/03/15 12:34:27 goba Exp $
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="@DOCBOOKXSL_HTML@"/>
<xsl:include href="html-common.xsl"/>
<xsl:param name="base.dir" select="'php/'"/>
<xsl:param name="html.ext" select="'.php'"/>
<xsl:param name="use.id.as.filename" select="1"/>
<xsl:param name="default.encoding" select="'@ENCODING@'"/>
<xsl:param name="saxon.character.representation" select="'native'"/>
<!-- Special PHP code navigation for generated pages -->
<xsl:template name="header.navigation">
<xsl:processing-instruction name="php">
require('shared-manual.inc');
sendManualHeaders('@ENCODING@','@LANG@');
// We need more navigation code here...
<xsl:text>manualHeader('</xsl:text>
<xsl:apply-templates select="." mode="phpdoc.object.title"/>
<xsl:text>','</xsl:text>
<xsl:call-template name="href.target">
<xsl:with-param name="object" select="."/>
</xsl:call-template>
<xsl:text>');</xsl:text>
</xsl:processing-instruction>
</xsl:template>
<!-- Special PHP code navigation for generated pages -->
<xsl:template name="footer.navigation">
<xsl:processing-instruction name="php">
<xsl:text>manualFooter('</xsl:text>
<xsl:apply-templates select="." mode="phpdoc.object.title"/>
<xsl:text>','</xsl:text>
<xsl:call-template name="href.target">
<xsl:with-param name="object" select="."/>
</xsl:call-template>
<xsl:text>');</xsl:text>
</xsl:processing-instruction>
</xsl:template>
</xsl:stylesheet>