summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2007-07-05 00:26:13 +0200
committerDennis kasprzyk <onestone@opencompositing.org>2007-07-05 00:26:13 +0200
commitc2bcb6afd2b5159281f52e075030d7f2a65e0fc2 (patch)
tree672a7f8df68749382dc2caf4431dd938a8b3d17a
parentfcced4de651a2a71b028af9994ae959760139a99 (diff)
downloadbcop-c2bcb6afd2b5159281f52e075030d7f2a65e0fc2.tar.gz
bcop-c2bcb6afd2b5159281f52e075030d7f2a65e0fc2.tar.bz2
Work around one stupid bug in xsltproc.
-rw-r--r--src/bcop.xslt10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bcop.xslt b/src/bcop.xslt
index 9ea6e5c..e877abd 100644
--- a/src/bcop.xslt
+++ b/src/bcop.xslt
@@ -264,7 +264,7 @@ typedef struct _</xsl:text>
int screenPrivateIndex;
</xsl:text>
- <xsl:if test="/compiz/plugin[@name=$pName]/display//option">
+ <xsl:if test="plugin[@name=$pName]/display//option">
<xsl:text> CompOption opt[</xsl:text>
<xsl:value-of select="$Plugin"/>
<xsl:text>DisplayOptionNum];
@@ -274,12 +274,12 @@ typedef struct _</xsl:text>
<xsl:value-of select="$Plugin"/>
<xsl:text>DisplayOptionNum];
</xsl:text>
- <xsl:for-each select="/compiz/plugin[@name=$pName]/display//option[@type = 'list' and ./desc/value and ./type/text() = 'int']">
+ <xsl:for-each select="plugin[@name=$pName]/display//option[@type = 'list' and ./desc/value and ./type/text() = 'int']">
<xsl:text> unsigned int </xsl:text>
<xsl:value-of select="@name"/>
<xsl:text>;
</xsl:text>
- </xsl:for-each>
+ </xsl:for-each>
</xsl:if>
<xsl:text>} </xsl:text>
<xsl:value-of select="$Plugin"/>
@@ -290,7 +290,7 @@ typedef struct _</xsl:text>
<xsl:text>OptionsScreen
{
</xsl:text>
- <xsl:if test="/compiz/plugin[@name=$pName]/screen//option">
+ <xsl:if test="plugin[@name=$pName]/screen//option">
<xsl:text> CompOption opt[</xsl:text>
<xsl:value-of select="$Plugin"/>
<xsl:text>ScreenOptionNum];
@@ -300,7 +300,7 @@ typedef struct _</xsl:text>
<xsl:value-of select="$Plugin"/>
<xsl:text>ScreenOptionNum];
</xsl:text>
- <xsl:for-each select="/compiz/plugin[@name=$pName]/screen//option[@type = 'list' and ./desc/value and ./type/text() = 'int']">
+ <xsl:for-each select="plugin[@name=$pName]/screen//option[@type = 'list' and ./desc/value and ./type/text() = 'int']">
<xsl:text> unsigned int </xsl:text>
<xsl:value-of select="@name"/>
<xsl:text>;