cvs: php-gtk /docs/stylesheets/xsl/html class.xsl
| From: | James Moore | Date: | Thu, 22 Mar 2001 19:35:55 +0000 |
| Subject: | cvs: php-gtk /docs/stylesheets/xsl/html class.xsl | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1072@lists.php.net to get a copy of this message | ||
jmoore Thu Mar 22 11:35:55 2001 EDT
Modified files:
/php-gtk/docs/stylesheets/xsl/html class.xsl
Log:
Making it build again..
Index: php-gtk/docs/stylesheets/xsl/html/class.xsl
diff -u php-gtk/docs/stylesheets/xsl/html/class.xsl:1.6
php-gtk/docs/stylesheets/xsl/html/class.xsl:1.7
--- php-gtk/docs/stylesheets/xsl/html/class.xsl:1.6 Thu Mar 22 11:13:22 2001
+++ php-gtk/docs/stylesheets/xsl/html/class.xsl Thu Mar 22 11:35:55 2001
@@ -33,7 +33,7 @@
<xsl:variable name="chunkfn">
<xsl:if test="$ischunk='1'">
- <xsl:apply-templates maode="chunk-filename" select="$node"/>
+ <xsl:apply-templates mode="chunk-filename" select="$node"/>
</xsl:if>
</xsl:variable>
@@ -133,13 +133,11 @@
<xsl:apply-templates select="$node/constructor/desc"/>
</xsl:variable>
- <xsl:variable name="methods.counter" select="'1'"/>
<!-- Methods Information -->
<xsl:variable name="methods.content">
<xsl:for-each select="$node/methods/method">
<xsl:call-template name="add-element-to-methods-array">
- <xsl:with-param name="class.title" select="$class.title">
- <xsl:with-param name="counter" select="$methods.counter"/>
+ <xsl:with-param name="class.title" select="$class.title"/>
<xsl:with-param name="funcsynopsis">
<xsl:apply-templates select="./funcsynopsis"/>
</xsl:with-param>
@@ -150,17 +148,14 @@
<xsl:apply-templates select="./desc"/>
</xsl:with-param>
</xsl:call-template>
- <xsl:variable name="methods.counter" select="$methods.counter + 1"/>
</xsl:for-each>
</xsl:variable>
- <xsl:variable name="attributes.counter" select="1"/>
<!-- Attribuites Information -->
<xsl:variable name="attributes.content">
<xsl:for-each select="$node/attributes/attribute">
<xsl:call-template name="add-element-to-attribute-array">
- <xsl:with-param name="class.title" select="$class.title">
- <xsl:with-param name="counter" select="$attributes.counter"/>
+ <xsl:with-param name="class.title" select="$class.title"/>
<xsl:with-param name="attribute.name">
<xsl:apply-templates select="./attributename"/>
</xsl:with-param>
@@ -171,17 +166,14 @@
<xsl:apply-templates select="./desc"/>
</xsl:with-param>
</xsl:call-template>
- <xsl:variable name="attributes.counter" select="$attributes.counter +
1"/>
</xsl:for-each>
</xsl:variable>
- <xsl:variable name="signals.counter" select="1"/>
<!-- Signals Information -->
<xsl:variable name="signals.content">
<xsl:for-each select="$node/signals/signal">
<xsl:call-template name="add-element-to-signal-array">
<xsl:with-param name="class.title" select="$class.title"/>
- <xsl:with-param name="counter" select="$signals.counter"/>
<xsl:with-param name="signal.name">
<xsl:apply-templates select="./signalname"/>
</xsl:with-param>
@@ -195,7 +187,6 @@
<xsl:apply-templates select="./desc"/>
</xsl:with-param>
</xsl:call-template>
- <xsl:variable name="attributes.counter" select="$attributes.counter +
1"/>
</xsl:for-each>
</xsl:variable>
@@ -286,12 +277,12 @@
<xsl:param name="var.value"/>
<!-- Escape any " -->
- <xsl:variable name="var.value.escaped" select="translate($var.value,
'"', '\"'"/>
+ <xsl:variable name="var.value.escaped"
select="translate($var.value,'"','\"')"/>
<xsl:text>$class_entries[</xsl:text>
- <xsl:value-of select="class.title" />
+ <xsl:value-of select="$class.title" />
<xsl:text>][</xsl:text>
- <xsl:value-of select="var.name" />
+ <xsl:value-of select="$var.name" />
<xsl:text>] = "</xsl:text>
<xsl:value-of select="$var.value.escaped"/>
<xsl:text>";
</xsl:text>
@@ -306,9 +297,9 @@
<xsl:param name="desc"/>
<!-- Escape any " -->
- <xsl:variable name="funcsynopsis.escaped" select="translate($funcsynopsis,
'"', '\"'"/>
- <xsl:variable name="shortdesc.escaped" select="translate($shortdesc,
'"', '\"'"/>
- <xsl:variable name="desc.escaped" select="translate($desc, '"',
'\"'"/>
+ <xsl:variable name="funcsynopsis.escaped" select="translate($funcsynopsis,
'"', '\"')"/>
+ <xsl:variable name="shortdesc.escaped" select="translate($shortdesc,
'"', '\"')"/>
+ <xsl:variable name="desc.escaped" select="translate($desc,
'"', '\"')"/>
<xsl:text>$class_entries[</xsl:text>
<xsl:value-of select="class.title" />
@@ -350,9 +341,9 @@
<xsl:param name="desc"/>
<!-- Escape any " -->
- <xsl:variable name="attributename.escaped" select="translate($attributename,
'"', '\"'"/>
- <xsl:variable name="shortdesc.escaped" select="translate($shortdesc,
'"', '\"'"/>
- <xsl:variable name="desc.escaped" select="translate($desc, '"',
'\"'"/>
+ <xsl:variable name="attribute.name.escaped" select="translate($attribute.name,
'"', '\"')"/>
+ <xsl:variable name="shortdesc.escaped" select="translate($shortdesc,
'"', '\"')"/>
+ <xsl:variable name="desc.escaped" select="translate($desc,
'"', '\"')"/>
<xsl:text>$class_entries[</xsl:text>
<xsl:value-of select="class.title" />
@@ -361,7 +352,7 @@
<xsl:text>][</xsl:text>
<xsl:value-of select="attributename" />
<xsl:text>] = "</xsl:text>
- <xsl:value-of select="$attributename.escaped"/>
+ <xsl:value-of select="$attribute.name.escaped"/>
<xsl:text>";
</xsl:text>
<xsl:text>$class_entries[</xsl:text>
@@ -395,10 +386,10 @@
<xsl:param name="desc"/>
<!-- Escape any " -->
- <xsl:variable name="signal.name.escaped" select="translate($signal.name,
'"', '\"'"/>
- <xsl:variable name="firedwhen.escaped" select="translate($firedwhen,
'"', '\"'"/>
- <xsl:variable name="shortdesc.escaped" select="translate($shortdesc,
'"', '\"'"/>
- <xsl:variable name="desc.escaped" select="translate($desc, '"',
'\"'"/>
+ <xsl:variable name="signal.name.escaped" select="translate($signal.name,
'"', '\"')"/>
+ <xsl:variable name="firedwhen.escaped" select="translate($firedwhen,
'"', '\"')"/>
+ <xsl:variable name="shortdesc.escaped" select="translate($shortdesc,
'"', '\"')"/>
+ <xsl:variable name="desc.escaped" select="translate($desc,
'"', '\"')"/>
<xsl:text>$class_entries[</xsl:text>
<xsl:value-of select="class.title" />