[XSL-LIST Mailing List Archive Home]
RE: [xsl] baffled by
Subject: RE: [xsl] baffled by <xsl:template match="/">|
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 11 May 2004 20:00:09 +0100
> 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.