Skip to main content
summaryrefslogtreecommitdiffstats
blob: 3fdf164acc68bbceb567c56ef3eb2baf78b098ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0"
    xmlns:xalan="http://xml.apache.org/xslt"
    xmlns:ns1="http://xml.apache.org/axis/wsdd/"
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
    <xsl:output method="xml" encoding="UTF-8"/>
  
   <xsl:param name="newClassName" select="ss"/>
   
    <xsl:template match="/ns1:deployment/ns1:service/ns1:parameter[@name='className']">
    <xsl:copy>
       <xsl:attribute name="name">className</xsl:attribute>
       	 <xsl:attribute name="value"> 	
  			<xsl:value-of select="$newClassName"/>  	 	
       	 </xsl:attribute>
       	<xsl:apply-templates/>
       	</xsl:copy>
    </xsl:template>
    
    <xsl:template match="@*|node()">
    	<xsl:copy>
    		<xsl:apply-templates select="@*|node()"/>
    	</xsl:copy>
    </xsl:template>
</xsl:stylesheet>

Back to the top