blob: cd1b5815d57d7f582d896571a23a3a95a960f2f8 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0,
or the Eclipse Distribution License v. 1.0 which is available at
http://www.eclipse.org/org/documents/edl-v10.php.
SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
-->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output omit-xml-declaration="no" indent="no"/>
<xsl:strip-space elements="*"/>
<xsl:template match="/">
<xsl:apply-templates select="*"/>
</xsl:template>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
<!--<xsl:template match="resources">-->
<xsl:template match="*[local-name(.)='resources']">
<xsl:element name="{local-name()}">
<!--<xsl:apply-templates select="*[1]"/>-->
<xsl:apply-templates select="*[@path = 'jipijapa-eclipselink-${jee.client.version}.jar']"/>
<xsl:copy-of select="document('elResources.xml')/resources/*"/>
</xsl:element>
</xsl:template>
</xsl:stylesheet>