cvs: php-gtk /docs/stylesheets/xsl/html class.xsl

From: Date: Tue, 27 Mar 2001 18:42:11 +0000
Subject: cvs: php-gtk /docs/stylesheets/xsl/html class.xsl
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1154@lists.php.net to get a copy of this message
jmoore Tue Mar 27 10:42:11 2001 EDT Modified files: /php-gtk/docs/stylesheets/xsl/html class.xsl Log: Write output from template parse to correct HTML file Index: php-gtk/docs/stylesheets/xsl/html/class.xsl diff -u php-gtk/docs/stylesheets/xsl/html/class.xsl:1.13 php-gtk/docs/stylesheets/xsl/html/class.xsl:1.14 --- php-gtk/docs/stylesheets/xsl/html/class.xsl:1.13 Tue Mar 27 09:30:59 2001 +++ php-gtk/docs/stylesheets/xsl/html/class.xsl Tue Mar 27 10:42:10 2001 @@ -141,12 +141,14 @@ <xsl:text> and modify the stylesheets instead. -*- */&#xA;</xsl:text> <xsl:text> &#xA;&#xA; - require_once("../scripts/TemplateParser.class"); - $tpl = new TemplateParser("../templates/"); - $tpl->addtemplate("classentry_tpl","classentry.tpl"); - $tpl->addtemplate("classmethod_tpl","classentry.tpl"); - $tpl->addtemplate("classsignals_tpl","classsignals.tpl"); - $tpl->addtemplate("classattributes_tpl","classattributes.tpl"); + require_once("../scripts/TemplateParser.class");&#xA; + require_once("../scripts/CommonFuncs.inc");&#xA; + $tpl = new TemplateParser("../templates/");&#xA; + $tpl->addtemplate("classentry_tpl","classentry.tpl");&#xA; + $tpl->addtemplate("classmethod_tpl","classentry.tpl");&#xA; + $tpl->addtemplate("classsignals_tpl","classsignals.tpl");&#xA; + $tpl->addtemplate("classattributes_tpl","classattributes.tpl");&#xA; + $filename = ereg_replace(".xml","", __FILE__ ); </xsl:text> <!-- Page Variables --> @@ -361,7 +363,19 @@ <xsl:value-of select="$attributes.content"/> <xsl:value-of select="$signals.content"/> - <xsl:text>&#xA;&#xA;</xsl:text> + <xsl:text>&#xA;</xsl:text> + <xsl:text> + $tpl->define("class_hierachy",get_class_hierachy( + </xsl:text> + <xsl:value-of select="$class.title"/> + <xsl:text>),0);&#xA;</xsl:text> + <xsl:text> + $tpl->parse("classtentry_out","classentry_tpl");&#xA; + $classentry_html = $tpl->output("classentry_out");&#xA; + $fp = fopen($filename,"w");&#xA; + fwrite($fp, $classentry_html);&#xA; + fclose($fp);&#xA;&#xA; + </xsl:text> <!-- hack for bug in saxon --> <xsl:text>?</xsl:text>

« previous php.gtk (#1154) next »