title: XSLT: Get the closest item with a specified value defined? (Sitecore)
body: <p>I have the current structure;</p>
  
  <pre><code>Item 1
   - Subitem 1
   - Subitem 2
   - Subitem 3
   - - Sub subitem 1
   - - Sub subitem 2
   - - Sub subitem 3
   - - etc
  </code></pre>
  
  <p>I have a field that is only defined on "Item 1". Let's call it 'Header'.</p>
  
  <p>When i am on "Item 1" its easy enough to extract this value, but what about when i am on the other items? Is there a way i can go through the tree (up) until i find a field called 'Header' and it has a value, and then stop and use this as a reference point in my sub items?</p>