<xsl:template match="/books/nobel[count(/title) < 2]">
You don't want "/title" here, you want "title". Using "/" searches from the
root of the tree.
<xsl:template match="/books/comics[count(/title) > 1]">
Same applies here.
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates select="/title[position() != last()]"/>
and here.
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
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>
--~--