Author: hiranya
Date: Tue Jun  2 00:54:42 2009
New Revision: 37462
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=37462

Log:
Updating the back xslt - added the namespace http://services.samples/xsd 
(Requried for proper functionality of sample 8)

See CARBON-4021

Modified:
   
trunk/esb/java/modules/samples/src/main/conf/synapse/resources/transform/transform_back.xslt

Modified: 
trunk/esb/java/modules/samples/src/main/conf/synapse/resources/transform/transform_back.xslt
URL: 
http://wso2.org/svn/browse/wso2/trunk/esb/java/modules/samples/src/main/conf/synapse/resources/transform/transform_back.xslt?rev=37462&r1=37461&r2=37462&view=diff
==============================================================================
--- 
trunk/esb/java/modules/samples/src/main/conf/synapse/resources/transform/transform_back.xslt
        (original)
+++ 
trunk/esb/java/modules/samples/src/main/conf/synapse/resources/transform/transform_back.xslt
        Tue Jun  2 00:54:42 2009
@@ -22,7 +22,8 @@
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
        xmlns:fn="http://www.w3.org/2005/02/xpath-functions";
        xmlns:m0="http://services.samples";
-       exclude-result-prefixes="m0 fn">
+       xmlns:ax21="http://services.samples/xsd";
+       exclude-result-prefixes="m0 ax21 fn">
 <xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
 
 <xsl:template match="/">
@@ -31,9 +32,9 @@
   
 <xsl:template match="m0:return">
 
-<m:CheckPriceResponse xmlns:m="http://services.samples";>
-       <m:Code><xsl:value-of select="m0:symbol"/></m:Code>
-       <m:Price><xsl:value-of select="m0:last"/></m:Price>
+<m:CheckPriceResponse xmlns:m="http://services.samples/xsd";>
+       <m:Code><xsl:value-of select="ax21:symbol"/></m:Code>
+       <m:Price><xsl:value-of select="ax21:last"/></m:Price>
 </m:CheckPriceResponse>
 
 </xsl:template>

_______________________________________________
Esb-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to