Jump to content

tommyinnz

Members
  • Posts

    3
  • Joined

  • Last visited

tommyinnz's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. I got that, thanks anyway.
  2. Thanks for your help.but distinct-values() is xpath 2.0 function? how can i just use xpath 1.0 to solve it?
  3. 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...