title: achieving this xslt translation
body: <p>I have a requirement where i have to convert using xslt, known tags to be replaced, but for any non-identified tags should be put inside a property bag (like in c#) kind of mode. For example. I want to convert the below XML:</p>
  
  <pre><code>&lt;Envelope&gt;
      &lt;body&gt;
          &lt;MyOperation_reply_data&gt;
              &lt;operation_name&gt;1211&lt;/operation_name&gt;
              &lt;operation_short_desc&gt;SCAMA&lt;/operation_short_desc&gt;
              &lt;operation_long_desc&gt;C4 SCAM PIECE PART ASSEMBLY
              &lt;/operation_long_desc&gt;
              &lt;primary_units&gt;UNITS&lt;/primary_units&gt;
              &lt;firstAttribute&gt;123&lt;/firstAttribute&gt;
              &lt;sampleone&gt;554&lt;/sampleone&gt;
              &lt;area&gt;newarea&lt;/area&gt;
              &lt;group&gt;samplegroup&lt;/group&gt;
              &lt;whatever&gt;uuu&lt;/whatever&gt;
          &lt;/MyOperation_reply_data&gt;
      &lt;/body&gt;
  &lt;/Envelope&gt;
  </code></pre>
  
  <p>To this format:</p>
  
  <pre><code>&lt;Envelope&gt;
  &lt;Body&gt;
      &lt;OperationInfo OperationName="MyOperation"&gt;
          &lt;OperationData&gt;
              &lt;Operation&gt;MyOperation&lt;/Operation&gt;
              &lt;ShortDescription&gt;MyDescription&lt;/ShortDescription&gt;
              &lt;LongDescription&gt;MyLongDescription&lt;/LongDescription&gt;
              &lt;PrimaryUnits&gt;UNITS&lt;/PrimaryUnits&gt;
              &lt;Attributes&gt;
                  &lt;Attribute Name="firstAttribute" Value="123" /&gt;
                  &lt;Attribute Name="sampleone" Value="554" /&gt;
                  &lt;Attribute Name="area" Value="newarea" /&gt;
                  &lt;Attribute Name="group" Value="samplegroup" /&gt;
                  &lt;Attribute Name="whatever" Value="uuu" /&gt;
              &lt;/Attributes&gt;
          &lt;/OperationData&gt;
      &lt;/OperationInfo&gt;
  &lt;/Body&gt;
  </code></pre>
  
  <p></p>
  
  <p>As you could see only the operation, operation long/shortdescription and primaryunits are the recognized tags. anything else i would want to put it in the Attributes list like above. The "other" tags list could grow - so the idea is to put all those other tags into this property bag kind of mode. </p>
  
  <p>the challenge I have is that i am unable to do for-each or identify the "other" tags. I tried selected not(self:: with or statements but didn't help much.</p>