Re: [xsl] XSLT1.0 distinct list of attributes across several nodes

Subject: Re: [xsl] XSLT1.0 distinct list of attributes across several nodes
From: "David Carlisle d.p.carlisle@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 26 Jun 2018 21:29:35 -0000
> By distinct attributes, I did, in fact, mean the distinct values of the
number attribute. Apologies of that

That doesn't seem to match the requested result

> the result should be 1,2,3,5 for the first post_press_version

in the first post_press_version there are two sequences of hopper elements

<hopper number="0" id="" is_insert="False"/>
<hopper number="1" id="23" is_insert="False">96854-6FL</hopper>
<hopper number="2" id="13" is_insert="False">96854-8FL003</hopper>
<hopper number="3" id="15" is_insert="False">96854-10FL004</hopper>
<hopper number="4" id="" is_insert="False"/>
<hopper number="5" id="" is_insert="False"/>
<hopper number="6" id="" is_insert="False"/>

<hopper number="0" id="" is_insert="False"/>
<hopper number="1" id="24" is_insert="False">96854-6FL10</hopper>
<hopper number="2" id="29" is_insert="False">96854-8FL</hopper>
<hopper number="3" id="" is_insert="False"/>
<hopper number="4" id="" is_insert="False"/>
<hopper number="5" id="31" is_insert="False"/>
<hopper number="6" id="" is_insert="False">96854-10FL</hopper>

So I think ? you want to just list the number attributes of hopper with
non-empty id?

Current Thread