-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
37adfa6
commit e41723d
Showing
1 changed file
with
14 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,19 @@ | ||
<?xml version="1.0"?> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | ||
|
||
<xsl:template match="@*|node()"> | ||
<xsl:copy> | ||
<xsl:apply-templates select="@*|node()"/> | ||
</xsl:copy> | ||
</xsl:template> | ||
<!-- Copy all nodes and attributes as they are --> | ||
<xsl:template match="@* | node()"> | ||
<xsl:copy> | ||
<xsl:apply-templates select="@* | node()"/> | ||
</xsl:copy> | ||
</xsl:template> | ||
|
||
<xsl:template match="/Server/Service/Engine/Host"> | ||
<xsl:copy> | ||
<xsl:apply-templates select="@*"/> | ||
<xsl:text> | ||
</xsl:text> | ||
<xsl:element name="Host"> | ||
<xsl:copy-of select="@*" /> | ||
<xsl:attribute name="appBase">/usr/share/susemanager/www/tomcat/webapps</xsl:attribute> | ||
</xsl:element> | ||
<xsl:apply-templates select="node()"/> | ||
</xsl:copy> | ||
</xsl:template> | ||
<xsl:template match="/Server/Service/Engine/Host"> | ||
<xsl:copy> | ||
<xsl:apply-templates select="@*"/> | ||
<xsl:attribute name="appBase">/usr/share/susemanager/www/tomcat/webapps</xsl:attribute> | ||
<xsl:apply-templates select="node()"/> | ||
</xsl:copy> | ||
</xsl:template> | ||
|
||
</xsl:stylesheet> |