title: how to create hyperlink in xsl
body: <p>I am using following xml and want to display in HTML using xslt.</p>
  
  <pre><code>    &lt;resultDetailsData&gt;
      &lt;itemProperties&gt;
        &lt;ID&gt;0&lt;/ID&gt; 
        &lt;type&gt;RESULTSTATUS&lt;/type&gt; 
        &lt;value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="status"&gt;NOSTATUS&lt;/value&gt; 
      &lt;/itemProperties&gt;
      &lt;itemProperties&gt;
        &lt;ID&gt;1&lt;/ID&gt; 
        &lt;type&gt;LEVEL&lt;/type&gt; 
        &lt;value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:int"&gt;1&lt;/value&gt; 
      &lt;/itemProperties&gt;
      &lt;itemProperties&gt;
        &lt;ID&gt;2&lt;/ID&gt; 
        &lt;type&gt;RESULTTYPE&lt;/type&gt; 
        &lt;value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="resultType"&gt;SCREENIMAGE&lt;/value&gt; 
      &lt;/itemProperties&gt;
      &lt;itemProperties&gt;
        &lt;ID&gt;3&lt;/ID&gt; 
        &lt;label&gt;Description&lt;/label&gt; 
        &lt;type&gt;TEXT&lt;/type&gt; 
        &lt;value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string"&gt;SC&lt;/value&gt; 
      &lt;/itemProperties&gt;
      &lt;itemProperties&gt;
        &lt;ID&gt;4&lt;/ID&gt; 
        &lt;type&gt;LINK&lt;/type&gt; 
        &lt;value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string"&gt;2013-03-25 111117-840.jpg&lt;/value&gt; 
      &lt;/itemProperties&gt;
      &lt;itemProperties&gt;
        &lt;ID&gt;5&lt;/ID&gt; 
        &lt;type&gt;SCREENSHOT&lt;/type&gt; 
        &lt;value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string"&gt;2013-03-25 111117-840.jpg&lt;/value&gt; 
      &lt;/itemProperties&gt;
      &lt;itemProperties&gt;
        &lt;ID&gt;6&lt;/ID&gt; 
        &lt;type&gt;DURATION&lt;/type&gt; 
        &lt;value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:long"&gt;711&lt;/value&gt; 
      &lt;/itemProperties&gt;
      &lt;itemProperties&gt;
        &lt;ID&gt;7&lt;/ID&gt; 
        &lt;type&gt;STEPDESCRIPTION&lt;/type&gt; 
        &lt;value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string"&gt;SC&lt;/value&gt; 
      &lt;/itemProperties&gt;
      &lt;itemProperties&gt;
        &lt;ID&gt;8&lt;/ID&gt; 
        &lt;type&gt;RESULTDESCRIPTION&lt;/type&gt; 
        &lt;value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string"&gt;Screen Capture - SC&lt;/value&gt; 
      &lt;/itemProperties&gt;
    &lt;/resultDetailsData&gt;
  </code></pre>
  
  <p>I have to create hyperlink for the value of value tag <strong>type</strong> *<em>RESULTDESCRIPTION</em>*. i.e, "Screen Capture - SC" When I click this it should open the file whose value will come from value of tag <strong>type</strong> *<em>LINK</em>*. i.e., "2013-03-25 111117-840.jpg".</p>
  
  <p>I am looking for xsl code for this. Any suggestions.</p>