I have the following xml.
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="applyt.xsl" ?>
<customers>
<order>
<id>1</id>
<name>John</name>
<customerBlkNo>178</customerBlkNo>
<CustomerStreetNo>xyz Avenue 1</CustomerStreetNo>
<CustomerCountry>China</CustomerCountry>
<phone>123-4567</phone>
</order>
</customers>
I need to transform this xml as shown below.
<customers>
<order>
<id>1</id>
<name>John</name>
<customeraddress>
<BlkNo>178</BlkNo>
<StreetNo>xyz Avenue 1</StreetNo>
<Country>China</Country>
</customeraddress>
<phone>123-4567</phone>
</order>
</customers>
I am new to xslt. Could someone please help me.Thanks in advance