title: XSL need help get value
body: <p>I am new to XSLT and am trying to get the following information.</p>
  
  <p>I have an XML that looks like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;soa:Label identifier="624e35e5-f7fe-49d2-b7d6-669543106161" name="Metadata Label" description="This label holds two fields, the duration and the file name of a media file.  It is intended to be populated using Identify." instance="1ab96760-b2f2-439d-8c26-ef204236b3ec" signature="00000000-0000-0000-0000-000000000000" xmlns:soa="urn:telestream.net:soa:core"&gt;
    &lt;soa:Category identifier="007cf696-0ee3-4bbf-8d1a-5fc90b75ae82" name="Video" order="0" /&gt;
    &lt;soa:Category identifier="f6754a00-a901-4cfe-b500-737506a67da5" name="Audio" order="0" /&gt;
    &lt;soa:Parameter type="timecode" identifier="f74643ba-085e-4a89-8362-a222720a4c4e" bindable="True" name="Duration" enabled="true" disableable="false"&gt;
      00:00:00:00@25&lt;soa:Default&gt;z00:00:00:00@25&lt;/soa:Default&gt;
      &lt;soa:IsRequired&gt;false&lt;/soa:IsRequired&gt;
    &lt;/soa:Parameter&gt;
    &lt;soa:Parameter type="string" identifier="72584048-c72f-46c3-9dd7-f4da519bfb70" bindable="True" name="File Name" enabled="true" disableable="false"&gt;
      Default.mpg&lt;soa:Default&gt;Default.mpg&lt;/soa:Default&gt;
      &lt;soa:Option&gt;Default.mpg&lt;/soa:Option&gt;
      &lt;soa:IsRequired&gt;false&lt;/soa:IsRequired&gt;
    &lt;/soa:Parameter&gt;
    &lt;soa:Parameter type="int32" identifier="5cf311fc-2ef6-4886-a8db-1cb33b6bc6f0" bindable="True" name="Video Width" category="007cf696-0ee3-4bbf-8d1a-5fc90b75ae82" enabled="true" disableable="false"&gt;
      720&lt;soa:Default&gt;z720&lt;/soa:Default&gt;
      &lt;soa:IsRequired&gt;false&lt;/soa:IsRequired&gt;
    &lt;/soa:Parameter&gt;
    &lt;soa:Parameter type="int32" identifier="3fae6a7b-6a06-4d03-b2ab-65974ddcb6b1" bindable="True" name="Video Height" category="007cf696-0ee3-4bbf-8d1a-5fc90b75ae82" enabled="true" disableable="false"&gt;
      576&lt;soa:Default&gt;z576&lt;/soa:Default&gt;
      &lt;soa:IsRequired&gt;false&lt;/soa:IsRequired&gt;
    &lt;/soa:Parameter&gt;
    &lt;soa:Parameter type="int32" identifier="35ab87a9-535d-4ae2-b280-4cad204bb2a1" bindable="True" name="Audio Channels" category="f6754a00-a901-4cfe-b500-737506a67da5" enabled="true" disableable="false"&gt;
      2&lt;soa:Default&gt;2&lt;/soa:Default&gt;
      &lt;soa:IsRequired&gt;false&lt;/soa:IsRequired&gt;
    &lt;/soa:Parameter&gt;
    &lt;soa:Parameter type="string" identifier="19336ecc-9e6c-4f7e-ab40-18d95a5546f3" bindable="True" name="Video Codec" category="007cf696-0ee3-4bbf-8d1a-5fc90b75ae82" enabled="true" disableable="false"&gt;
      dvpal&lt;soa:Default&gt;dvpal&lt;/soa:Default&gt;
      &lt;soa:IsRequired&gt;false&lt;/soa:IsRequired&gt;
    &lt;/soa:Parameter&gt;
    &lt;soa:Parameter type="int32" identifier="16bb6aac-93b0-4074-b4bb-a0b0ded92940" bindable="True" name="Audio Bitrate" category="f6754a00-a901-4cfe-b500-737506a67da5" enabled="true" disableable="false"&gt;
      192&lt;soa:Default&gt;192&lt;/soa:Default&gt;
      &lt;soa:IsRequired&gt;false&lt;/soa:IsRequired&gt;
    &lt;/soa:Parameter&gt;
    &lt;soa:Parameter type="string" identifier="7e50585e-e30f-43d3-be49-9a488e2531f2" bindable="True" name="Audio Codec" category="f6754a00-a901-4cfe-b500-737506a67da5" enabled="true" disableable="false"&gt;
      pcm&lt;soa:Default&gt;pcm&lt;/soa:Default&gt;
      &lt;soa:IsRequired&gt;false&lt;/soa:IsRequired&gt;
    &lt;/soa:Parameter&gt;
    &lt;soa:Parameter type="int32" identifier="67aa5f6f-60fe-4d2a-a5f0-caca31ebe088" bindable="True" name="Audio Sample Rate" category="f6754a00-a901-4cfe-b500-737506a67da5" enabled="true" disableable="false"&gt;
      48&lt;soa:Default&gt;48&lt;/soa:Default&gt;
      &lt;soa:IsRequired&gt;false&lt;/soa:IsRequired&gt;
    &lt;/soa:Parameter&gt;
  &lt;/soa:Label&gt;
  </code></pre>
  
  <p>and I want to get this </p>
  
  <pre><code>   &lt;Filename&gt;Default.mpg&lt;/Filename&gt;
     &lt;Duration&gt;00:00:00:00&lt;/Duration&gt;
     &lt;Video_Width&gt;720&lt;/Video_Width&gt;
     &lt;Video_Height&gt;576&lt;/Video_Height&gt;
  </code></pre>
  
  <p>But the values I need are the first </p>
  
  <p>For example in:</p>
  
  <pre><code>&lt;soa:Parameter type="string" identifier="72584048-c72f-46c3-9dd7-f4da519bfb70" bindable="True" name="File Name" enabled="true" disableable="false"&gt;Default.mpg&lt;soa:Default&gt;...
  </code></pre>
  
  <p>I need this <code>Default.mpg</code> for the <code>Filename</code> tag.</p>
  
  <p>For the moment I only succeeded in getting the duration value with:</p>
  
  <pre><code>&lt;xsl:value-of select="substring-before(soa:Label/soa:Parameter,'@')"/&gt;
  </code></pre>