I have following XML:
<library>
<elements>
<element name="books">
<property name="author">A</property>
<property name="select">true</property>
</element>
<element name="books">
<property name="author">B</property>
<property name="select">false</property>
</element>
<element name="books">
<property name="author">C</property>
<property name="select">true</property>
</element>
<element name="books">
<property name="author">A</property>
<property name="select">true</property>
</element>
</elements>
</library>
I need to get output of all elements with name="books", which are selected (selected = true) and unique by author name. Must use xslt 1.0.
Expected result: author: A author: C
Must output data only for authors A and C.
Thanks in advance!