I want to get the name of the fifth monkey (Phil). I thought
this would do it:
----------------------------------
<xsl:template match="forest">
<xsl:text>The fifth monkey's name is:
</xsl:text><xsl:value-of select="//monkey[5]/@name"/> </xsl:template>
----------------------------------
But this doesn't seem to work.
This question was last asked (and answered) just 9 hours before your post,
and before that about a week ago.
Hope you'll stick around on the list for a bit now. Read what comes, you can
learn a lot from it, and avoid the embarrassment of asking questions that
have been answered so recently.
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>
--~--