source: trunk/gsdl3/dist-resources/tomcat-server-add-soap.xsl@ 7810

Last change on this file since 7810 was 7810, checked in by kjdon, 20 years ago

add the soap context to server.xml

  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4
5 <!-- we basically want to copy everything, but add in a few bits for gs3 -->
6 <xsl:output method="xml"/>
7
8 <xsl:template match="Server">
9 <xsl:copy>
10 <xsl:copy-of select="@*"/>
11 <xsl:apply-templates/>
12 </xsl:copy>
13 <xsl:text>
14 </xsl:text>
15 </xsl:template>
16
17 <xsl:template match="Service | Engine ">
18 <xsl:copy>
19 <xsl:copy-of select="@*"/>
20 <xsl:apply-templates/>
21 </xsl:copy>
22 </xsl:template>
23
24 <xsl:template match="Host">
25 <xsl:copy>
26 <xsl:copy-of select="@*"/>
27 <xsl:apply-templates/>
28 <Context path="/soap" docBase="@gsdl3home@/comms/soap/soap/webapps/soap" debug="1" reloadable="true">
29 <Resources allowLinking='true'/>
30 </Context>
31 </xsl:copy>
32 </xsl:template>
33
34 <xsl:template match="*">
35 <xsl:copy-of select="."/>
36 </xsl:template>
37
38 <xsl:template match="comment()">
39 <xsl:copy-of select="."/>
40 <xsl:text>
41</xsl:text>
42 </xsl:template>
43
44</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.