xml to json converter using xslt code example

Example: xml to json converter using xslt

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://group.vodafone.com/contract/vho/header/v1" xmlns:v11="http://group.vodafone.com/schema/vbm/technical/communication/v1" xmlns:v12="http://group.vodafone.com/schema/common/v1" xmlns:urn="urn:un:unece:uncefact:documentation:standard:CoreComponentType:2" xmlns:v13="http://group.vodafone.com/schema/vbo/technical/communication/v1" xmlns:v14="http://group.vodafone.com/schema/extension/vbo/technical/communication/v1">
   <soapenv:Header>
       <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-67966DFA63D602571D14265948734983">
            <wsse:Username>esb_integration@vfglobalorg.com.qashield</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">pass</wsse:Password>
            <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">TjYsDLPf2uxaJsfmimLmHw==</wsse:Nonce>
            <wsu:Created>2016-12-30T12:21:13.498Z</wsu:Created>
         </wsse:UsernameToken>
      </wsse:Security>
      <v1:Cache>
         <v1:UseCache>yes</v1:UseCache>
         <!--Optional:-->
         <v1:MaxAge>22</v1:MaxAge>
         <!--Optional:-->
         <v1:LastModified>2016-12-30T13:20:00-05:00</v1:LastModified>
      </v1:Cache>
      <v1:Correlation>
         <!--Optional:-->
         <v1:ConversationID>abc123</v1:ConversationID>
      </v1:Correlation>
      <v1:Source>
         <!--Optional:-->
         <v1:CountryCode>ES</v1:CountryCode>
         <!--Optional:-->
         <v1:Operator>Operator</v1:Operator>
         <!--Optional:-->
         <v1:Division>Division</v1:Division>
         <!--Optional:-->
         <v1:System>System</v1:System>
         <!--Optional:-->
         <v1:Timestamp>2016-12-30T13:20:00-05:00</v1:Timestamp>
      </v1:Source>
   </soapenv:Header>
   <soapenv:Body>
      <v11:CreateCommunicationVBMRequest>
         <v11:CommunicationVBO >
            <v13:Parts>
               <v13:Body>
                  <v13:Text>Text</v13:Text>
               </v13:Body>
               <v13:Extension>                  
                  <v14:BusinessObject>                     
                     <v12:IDs>                      
                        <v12:ID>0066E000003Cs6RQAS</v12:ID>
                     </v12:IDs>                     
                    </v14:BusinessObject>
               </v13:Extension>
            </v13:Parts>
         </v11:CommunicationVBO>
      </v11:CreateCommunicationVBMRequest>
   </soapenv:Body>
</soapenv:Envelope>