View Single Post
  #11 (permalink)  
Old April 30th, 2018, 07:56 AM
Martin Honnen Martin Honnen is offline
Friend of Wrox
Points: 6,673, Level: 34
Points: 6,673, Level: 34 Points: 6,673, Level: 34 Points: 6,673, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2007
Location: Germany
Posts: 1,242
Thanks: 0
Thanked 244 Times in 243 Posts
Default

Well, which XSLT processor do you use, which XSLT version does it support? Can you switch to Saxon 9 or another XSLT 2 or 3 processor? The third argument to the key function was introduced in XSLT 2, if your XSLT processor complaints about it it is likely an XSLT 1 processor.

As for the problem, you said you need to eliminate duplicates of the country for each fund like fund11111 or fund22222, however it seems that the Registration elements or the Country elements are not structurally related to a fund as there is only a single fund element. Would it suffice to eliminate duplicates inside of each "KeyFacts" element?
__________________
Martin Honnen
Microsoft MVP (XML, Data Platform Development) 2005/04 - 2013/03
My blog
Reply With Quote