blob: 570687058c7d2c506db8aed42827dad3a56ad6b0 [file] [log] [blame]
Stephan Herrmanndcd87c12010-04-25 10:59:27 +00001<?xml version="1.0"?>
2<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2004/07/xpath-functions" xmlns:xdt="http://www.w3.org/2004/07/xpath-datatypes" exclude-result-prefixes="xs fn xdt">
3 <xsl:template match="@range[../@name='org.eclipse.jdt.feature.group' and starts-with(.,'[3.6.0.v20100308-1800')]">
4 <xsl:attribute name="range">[3.6.0.v20100308-1800,3.6.0.v20100308-1801)</xsl:attribute>
5 </xsl:template>
6 <!-- Whenever you match any node or any attribute -->
7 <xsl:template match="node()|@*">
8 <!-- Copy the current node -->
9 <xsl:copy>
10 <!-- Including any attributes it has and any child nodes -->
11 <xsl:apply-templates select="@*|node()"/>
12 </xsl:copy>
13 </xsl:template>
14</xsl:stylesheet>