[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Pattern "node()" and document nodes

Subject: Re: [xsl] Pattern "node()" and document nodes
From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx>
Date: Thu, 25 Feb 2010 21:55:27 +0530

On Thu, Feb 25, 2010 at 9:27 PM, Florent Georges <lists@xxxxxxxxxxxx> wrote:
> B Could someone confirm that the pattern "node()" matches a
> document node?

It is.

I think, this test can verify that:

<xsl:template match="/">
   <xsl:if test=". instance of node()">

This will print "true", if what you've started is true.

Mukul Gandhi

Current Thread