<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
 <xsl:strip-space elements="*"/>
 <xsl:template match="REQUEST">
 <soapenv:Envelope>
  <soapenv:Header/>
  <soapenv:Body>
   <urn:ProcessIncident>
     <IctAdditionalInfos/>
     <IctAttachments/>
     <IctHead>
      <IncidentGuid>
       <xsl:value-of select="INCIDENT_GUID"/>
      </IncidentGuid>
      <RequesterGuid>127A8E11AF731ED98AD8C83F7E592204</RequesterGuid>
      <ProviderGuid>
       <xsl:value-of select="SYSTEM_GUID"/>
      </ProviderGuid>
      <AgentId/>
      <ReporterId>141</ReporterId>
      <ShortDescription> <!-- max 40 signs!! -->
       Incident created by IFTT
      </ShortDescription>
      <Priority>2</Priority>
      <Language>EN</Language>
      <RequestedBegin>20190228</RequestedBegin>
      <RequestedEnd>20190220</RequestedEnd>
     </IctHead>
     <IctId>3</IctId>
     <IctPersons>
      <item>
       <PersonId>141</PersonId>
       <PersonIdExt>dummy</PersonIdExt>
       <Sex/>
       <FirstName>Andrzej</FirstName>
       <LastName>Halicki</LastName>
       <Telephone>
        <PhoneNo/>
        <PhoneNoExtension/>
       </Telephone>
       <MobilePhone/>
       <Fax>
        <FaxNo/>
        <FaxNoExtension/>
       </Fax>
       <Email>andrzej.halicki@int4.com</Email>
      </item>
     </IctPersons>
     <IctSapNotes/>
     <IctSolutions/>
     <IctStatements>
      <item>
       <TextType>SU99</TextType>
       <Texts>
        <item>
         <xsl:for-each select="TEST_RESULTS/_-INT4_-IFTT_ST_TC_RES">
         Test Case ID: <xsl:value-of select="CASEID"/>
         Test case Description: <xsl:value-of select="OBJDESCR"/>
         Test case version: <xsl:value-of select="VERSION"/>
           </xsl:for-each>
          </item>
         </Texts>
         <Timestamp>
          <xsl:value-of select="ICT_TIMESTAMP"/>
         </Timestamp>
         <PersonId>141</PersonId>
         <Language>EN</Language>
        </item>
       </IctStatements>
       <IctTimestamp>
        <xsl:value-of select="ICT_TIMESTAMP"/>
       </IctTimestamp>
       <IctUrls>
       <xsl:for-each select="URLS/item">
        <item>
         <UrlGuid>
          <xsl:value-of select="URL_GUID"/>
         </UrlGuid>
         <Url>
          <xsl:value-of select="URL"/>
         </Url>
         <UrlName>
          <xsl:value-of select="URL_NAME"/>
         </UrlName>
         <UrlDescription/>
         <Timestamp>
          <xsl:value-of select="ICT_TIMESTAMP"/>
         </Timestamp>
         <PersonId>141</PersonId>
         <Language>EN</Language>
         <Delete/>
        </item>
        </xsl:for-each>
       </IctUrls>
     </urn:ProcessIncident>
    </soapenv:Body>
   </soapenv:Envelope>
   </xsl:template>
  </xsl:stylesheet>