Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

XSLT map is not working

$
0
0

Hi All,

 

I am trying to use simple xslt mapping but getting error that could not compiled style sheet.

 

source

 

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_Outbound xmlns:ns0="urn://test.com:TestInterface">

   <person>

      <FirstName>MIKE</FirstName>

      <LastName>NEW</LastName>

      <Gender>MALE</Gender>

   </person>

</ns0:MT_Outbound>

 

below is map code:

<?xml version="1.0" encoding="UTF-8" ?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >

<xsl:output method="xml" indent="yes">

<xsl:template match="/">

<ns1:MT_Inbound>

<xsl:for-each select="ns0:MT_Outbound/Person">

<Gender> <xsl:value-of select="Gender" /></Gender>

<Name> <xsl:value-of select="concat(concat(FirstName,' '),LastName)" /></Name>

</xsl:for-each>

</ns1:MT_Inbound>

</xsl:template>

</xsl:stylesheet>

 

Regards,


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>