what is the difference between these xpaths:
The first selects the first of all the child nodes of the <entry>
element. In your example:
the first child of the <entry> element is a whitespace-only text node,
containing a newline character, between the start tag of the <entry>
element and the start tag of the <ce> element.
If you want to get the first element within the <entry> element then
Or you could strip the whitespace-only text nodes from within the
<entry> elements by adding:
<xsl:strip-space elements="entry" />
at the top level of your stylesheet.
The reason that you get different results in Xalan and XML Spy (which
uses MSXML) is that MSXML by default automatically strips all
whitespace-only text nodes from a document, whereas Xalan doesn't.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list