Jump to content

tommyinnz

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by tommyinnz

  1. Hi everyone.I am trying to use count function to count different names in my xml file.my xml file like this:<p> <name>jack/name> <name>jan</name> <name>jack</name></p>and in my xslt file, i am using <xsl:value-of select="count(/p/name)" />but this gives me 3, what i need is to only count different names, which, in this case it should return 2.Thanks for any help.

×
×
  • Create New...