View Single Post
  #10 (permalink)  
Old April 30th, 2018, 07:47 AM
virgosaggi virgosaggi is offline
Authorized User
Points: 110, Level: 2
Points: 110, Level: 2 Points: 110, Level: 2 Points: 110, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2018
Posts: 16
Thanks: 3
Thanked 0 Times in 0 Posts
Unhappy

Quote:
Originally Posted by virgosaggi View Post
Hi Martin

It seem to work with the suggestion you gave

I added NOT clause

<xsl:template match="Registration[not( generate-id() = generate-id(key('cc', Country, ancestor::Fund)[1]))]"
/>
</xsl:stylesheet>

checking on dataset
Hi Martin
Using the suggestions above it worked in xmlspy
But when I am trying to run based on a wrapper code it’s failing saying y needs two arguments to the generate-id(key())

Any suggestions

Thank you
Reply With Quote