SHA256
1
0
forked from pool/tomcat10
tomcat10/allowLinking.xslt
Michele Bussolotto 940c0b2f6d Accepting request 1139107 from home:mbussolotto:branches:Java:packages
- Fix server.xml permission (bsc#1217768, bsc#1217402)
- remove serverxmltool and use xsltproc

OBS-URL: https://build.opensuse.org/request/show/1139107
OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat10?expand=0&rev=18
2024-01-16 09:34:22 +00:00

20 lines
634 B
HTML

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:strip-space elements="*"/>
<!-- Identity template to copy elements and attributes as they are -->
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<!-- Add Resources element with allowLinking attribute -->
<xsl:template match="Context">
<xsl:copy>
<Resources allowLinking="true" />
</xsl:copy>
</xsl:template>
</xsl:stylesheet>