title: Strip prefix from attribute value
body: <p>For a project, I'm stuck with XSLT-1.0/XPATH-1.0 and need a fast way to strip a lowercase prefix from attribute values.</p>
  
  <p>Example attribute values are:</p>
  
  <pre><code>"cmdValue1", "gfValue2", "dTestCase3"
  </code></pre>
  
  <p>The values I need are:</p>
  
  <pre><code>"Value1", "Value2", "TestCase3"
  </code></pre>
  
  <p>I came up with this XPath expression but it is too slow for my application:</p>
  
  <pre><code>substring(@attr, 1 + string-length(substring-before(translate(@attr, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', '..........................'), '.')))
  </code></pre>
  
  <p>In essence the above does replace all uppercase chars to dots, then creates a substring from the original attribute value starting from the first found dot position (first uppercase char).</p>
  
  <p>Does anyone know a shorter/faster way to do this in XSLT-1.0/XPATH-1.0?</p>