Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Functoids: String Concatenate Functoid › Re: Functoids: String Concatenate Functoid
Thx for ur rply.
i am using folling schema as input
<?xml version=”1.0″ encoding=”utf-16″?>
<xs:schema xmlns:b=”http://schemas.microsoft.com/BizTalk/2003” xmlns=”http://Maps_POC2.Schema_POC2in” targetNamespace=”http://Maps_POC2.Schema_POC2in” xmlns:xs=”http://www.w3.org/2001/XMLSchema“>
<xs:element name=”College”>
<xs:complexType>
<xs:sequence>
<xs:element name=”Branches”>
<xs:complexType>
<xs:sequence>
<xs:element name=”ECE” type=”xs:string” />
<xs:element name=”EEE” type=”xs:string” />
<xs:element name=”CSE” type=”xs:string” />
<xs:element name=”IT” type=”xs:string” />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
and following schema as output.
<?xml version=”1.0″ encoding=”utf-16″?>
<xs:schema xmlns:b=”http://schemas.microsoft.com/BizTalk/2003” xmlns=”http://Maps_POC2.Schema_POC2out” targetNamespace=”http://Maps_POC2.Schema_POC2out” xmlns:xs=”http://www.w3.org/2001/XMLSchema“>
<xs:element name=”University”>
<xs:complexType>
<xs:sequence>
<xs:element name=”Colge”>
<xs:complexType>
<xs:sequence>
<xs:element name=”Goup1″ type=”xs:string” />
<xs:element name=”Group2″ type=”xs:string” />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
i am concatenating ECE and EEE from source schema to Group1 in destination schema by using String Concatenate Functoid
and mapping CSE and IT from source schema to Group2 in destination schema by using another string concatenate Functoid.
when i give the input xml as following , out put is coming as same as the input.
<College>
<Branches>
<ECE>ECE_0</ECE>
<EEE>EEE_0</EEE>
<CSE>CSE_0</CSE>
<IT>IT_0</IT>
</Branches>
</College>
pls help me.
thanks in advance,
regards,
Revanth