On 5/26/06, Gerritjan Koekkoek <gerritjankoekkoek(_at_)mac(_dot_)com> wrote:
<xsl:template match="persoonsgegevens[1]">
...
</xsl:template>
I would like to treat all other nodes differently...
<xsl:template match="persoonsgegevens[?]">
...
</xsl:template>
remember, according to the docs persoonsgegevens[1] is really short for
persoonsgegevens[position() = 1]
hence
position() != 1?
position() <> 1?
not(position() = 1)
position() > 1 ?
one of these would probably do depending more on your need.
See http://www.w3.org/TR/xpath#path-abbrev
Jon Gorman
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--