1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 445128 - Copy processing-instruction in xsl processing

Change-Id: I92282ff1e9f9ba8b1de245298d5bd0db401ca479
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/39536
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
This commit is contained in:
Marc Khouzam 2015-01-13 16:22:24 -05:00
parent 3fa103dbf8
commit 6e6c6aa9ec

View file

@ -16,7 +16,7 @@
</properties>
</xsl:template>
<!-- add p2.mirrorsURL property -->
<!-- add download.stats property to every CDT feature -->
<xsl:template match="repository/artifacts/artifact/properties[../@classifier='org.eclipse.update.feature']">
<properties size='{@size+1}'>
<xsl:copy-of select="property"/>
@ -32,4 +32,11 @@
</xsl:copy>
</xsl:template>
<!-- also copy every processing instruction -->
<xsl:template match="processing-instruction()">
<xsl:copy>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>