title: how to do template not matching using xslt 1.0
body: <p>I have an requirement in which I am processing the message based on the root element tag and for that I have created 3 different template match based on the root tag element. I was wondering how to process the message if the client is sending different message which is not matching the root tag element.</p>
  
  <p><strong>Input:</strong> </p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;process1 xmlns="http://www.openapplications.org/oagis/10" systemEnvironmentCode="Production" languageCode="en-US"&gt;
      &lt;Appdata&gt;
          &lt;Sender&gt;
          &lt;/Sender&gt;
          &lt;Receiver&gt;
          &lt;/Receiver&gt;
          &lt;CreationDateTime/&gt;
      &lt;/Appdata&gt;
  &lt;/process1&gt;
  </code></pre>
  
  <p><strong>2nd message:</strong> Everything will be same except root tag will be <code>process2</code>, <code>process3</code></p>
  
  <p><strong>Code:</strong> </p>
  
  <pre><code>&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"&gt;
      &lt;xsl:template match="/*[local-name()='proces1']"&gt;
          &lt;operation&gt;dosomthing&lt;/operation&gt;
      &lt;/xsl:template&gt;
      &lt;xsl:template match="/*[local-name()='process2']"&gt;
          &lt;operation&gt;dosomthing2&lt;/operation&gt;
      &lt;/xsl:template&gt;
      &lt;xsl:template match="/*[local-name()='process2']"&gt;
          &lt;operation&gt;blah blah&lt;/operation&gt;
      &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>My question here is I want to process message in case if it's not matching the 3 templates <strong>process1,process2,process3</strong>.</p>
  
  <p>Can anyone please give advise how to achieve that?</p>