I guess element "EventDate" is a child of "Event" in your XML doc. So, in that case, you have to drop the "//" in
, since XPath expression "//EventDate" gets the set of all
such elements in the XML doc, whereas the expression "EventDate" gets the child of the current "Event".
And you got only the value of first (in the document order) "EventDate", since xsl:value-of always outputs the value of the first node if the "select" XPath expression returns a node-set.