blob: a596feb30565a10f8ebb51e8ffdd5d860a4ef0d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!--
TODO: increase modularity and possibility to predefine more + order
-->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<!-- xsl:template match="@currentset[../RDF:Description[]]" -->
<xsl:template match="@currentset[
name(..)='RDF:Description'
and
../@RDF:about='chrome://browser/content/browser.xul#addon-bar'
]">
<xsl:attribute name="currentset">
<!-- TODO: check if not empty or there already -->
<xsl:value-of select="concat(., '|feed-button')"/>
</xsl:attribute>
</xsl:template>
</xsl:stylesheet>
|