title: Getting multiple values based on a unknown condition
body: <p>I have following scenarion. I have a given XML structure and in there, there is a XML block defined as like this:</p>
  <pre><code>                &lt;CHARACTERISTICS&gt;
                      &lt;CHARACTERISTIC id=&quot;BLOCK1&quot;&gt;
                          &lt;CODE&gt;H318&lt;/CODE&gt;
                          &lt;FILENAME/&gt;
                          &lt;TEXT&gt;VALUE1&lt;/TEXT&gt;
                      &lt;/CHARACTERISTIC&gt;
                      &lt;CHARACTERISTIC id=&quot;BLOCK1&quot;&gt;
                          &lt;CODE&gt;H318&lt;/CODE&gt;
                          &lt;FILENAME/&gt;
                          &lt;TEXT&gt;VALUE2&lt;/TEXT&gt;
                      &lt;/CHARACTERISTIC&gt;
                      &lt;CHARACTERISTIC id=&quot;BLOCK1&quot;&gt;
                          &lt;CODE&gt;PZ123&lt;/CODE&gt;
                          &lt;FILENAME/&gt;
                          &lt;TEXT&gt;VALUE3&lt;/TEXT&gt;
                      &lt;/CHARACTERISTIC&gt;
                      
                  &lt;/CHARACTERISTICS&gt;
  </code></pre>
  <p>Is there any way to have an outcome like this:</p>
  <ul>
  <li>Value Entry1: H318</li>
  <li>Value Entry2: VALUE1 VALUE2</li>
  </ul>
  <p>?</p>
  <p>So what I try to achieve is, giving on the code to get every TEXT entry based on an unknown CODE. Is that possible with XPATH?</p>