I need this in my xslt, but xmlns:s="{$service-uri}" did not extracted:
<xsl:variable name="service-uri" select="'http://something/'"/> ... <xsl:template match="cxf:cxfEndpoint[last()]"> <xsl:copy> <xsl:apply-templates select="node()|@*"/> </xsl:copy> <cxf:cxfEndpoint xmlns:s="{$service-uri}" endpointName="s:{$service-name}Port" id="{$service-name}_RemoteEndpoint" serviceName="s:{$service-name}" wsdlURL="wsdl/remote/{$service-name}.wsdl"> <cxf:properties> <entry key="continuationTimeout" value="120000"/> <entry key="mtom-enabled" value="true"/> <entry key="dataFormat" value="PAYLOAD"/> </cxf:properties> </cxf:cxfEndpoint> </xsl:template>
How can I extract service-uri variable in the namespace definition? thx Zamek