title: How to transform soap response to xml using XSLT?
body: <p>am trying to transform soap response to xml using xslt but am getting only empty output.
  Please any one help me.</p>
  
  <p><strong>MY Soap response is</strong></p>
  
  <pre><code>&lt;Envelope 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
  
  &lt;Body 
  xmlns="http://schemas.xmlsoap.org/soap/envelope"&gt;
  &lt;OTA_HotelAvailRS TransactionIdentifier="12345" EchoToken="12345" Target="Test" TimeStamp="2008-03-18T10:46:53.393" Version="6.001"&gt;
  &lt;HotelImages&gt;
  &lt;ImagePath&gt;http://reznextlive.blob.core.windows.net/custcode-106/63710.jpg&lt;/ImagePath&gt;
  &lt;ImagePath&gt;http://reznextlive.blob.core.windows.net/custcode-106/63711.jpg&lt;/ImagePath&gt;
  &lt;ImagePath&gt;http://reznextlive.blob.core.windows.net/custcode-106/63712.jpg&lt;/ImagePath&gt;
  &lt;/HotelImages&gt;
  &lt;/OTA_HotelAvailRS&gt;
  &lt;/Body&gt;
  &lt;/Envelope&gt;
  </code></pre>
  
  <p><strong>My XSLT IS</strong></p>
  
  <pre><code>&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
  &lt;xsl:output method="xml" omit-xml-declaration="no" encoding="utf-8" indent="yes" /&gt;
  &lt;xsl:template match="/"&gt;
  &lt;images&gt;
  &lt;xsl:value-of select="Envelope/Body/OTA_HotelAvailRS/HotelImages/ImagePath"/&gt;
  &lt;/images&gt;
  &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p><strong>My output is like</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;images xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"/&gt;
  </code></pre>