Subject: RE: baffled by <xsl:template match="/">
From: "Kenny Akridge" <kenny@xxxxxxxxxxxxxxxxx>
Date: Tue, 11 May 2004 15:19:35 -0400
|
Aha! I think I read that briefly several months ago, but forgot it. I've
always guessed that it was this way, but did not know the real answer for
certain. Thanks.
-----Original Message-----
From: Michael Kay [mailto:mhk@xxxxxxxxx]
Sent: Tuesday, May 11, 2004 3:00 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: baffled by <xsl:template match="/">
>
> In Michael Kay's book, XSLT Programmer's Reference - 2nd
> Edition, the top of
> page 75 says that the pattern "/" matches the root node. I
> have always been
> baffled by this, because I have never seen "/" match the root
> node when
> using <xsl:template match="/">.
Go back to page 57, which carefully explains what the root node is.
Michael Kay
|