Subject: Re: [xsl] Finding an element without a particular attribute? From: "David Carlisle d.p.carlisle@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 28 Mar 2025 16:39:11 -0000 |
On Fri, 28 Mar 2025 at 16:30, dvint@xxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > 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. > map[not(@key)] > > ..dan
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Finding an element without a , dvint@xxxxxxxxx | Thread | Re: [xsl] Finding an element withou, Wendell Piez wapiez@ |
[xsl] Finding an element without a , dvint@xxxxxxxxx | Date | Re: [xsl] Finding an element withou, Wendell Piez wapiez@ |
Month |