[xsl] Finding an element without a particular attribute?

Subject: [xsl] Finding an element without a particular attribute?
From: "dvint@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Mar 2025 16:30:07 -0000
I'm processing content produced with json-to-xml(). So there are a buch of <map> elements. Many have the @key attribute and are easy to match. I'm drawing a blank on how to find map elements without the @key.

<map key="mime">
   <string key="type">array</string>
   <array key="items">
      <map>
         <string key="type">string</string>
      </map>
   </array
   </map>
<map key="uri">
   <string key="type">string</string>
</map>
<map key="doctype">
   <string key="type">string</string>
</map>


Any thoughts? I tried map[@key=''] with no luck.


..dan

Current Thread