Hi,
I've the following XML-file (part of it):
<ReferenceList>
<SourceList>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel/10687759/"/>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel/10689339/"/>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel/10689856/"/>
</SourceList>
<TargetList>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel-v/10689066/"/>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel-v/12404611/"/>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel-v/10691596/"/>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel/10689856/"/>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel/10692131/"/>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel-v/10690342/"/>
</TargetList>
</ReferenceList>
I'd like to create the following out of this:
<absatz>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel/10687759/"/>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel/10689339/"/>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel/10689856/"/>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel-v/10689066/"/>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel-v/12404611/"/>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel-v/10691596/"/>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel/10692131/"/>
<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel-v/10690342/"/>
</absatz>
The Problem is, how to handle distinct values. The XML-file contains the
entry "<Link ref="wdg://pschyrembel/sozmed/sozmed_artikel/10689856/"/>"
following after the element <SourceList> and following after the element
<TargetList>.
How is it possible, to create a list of distinct values? I tried to use
distinct-values() but without any result.
Kind regards,
Monika
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--