xsl-list
[Top] [All Lists]

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

2010-02-25 10:26:17
On Thu, Feb 25, 2010 at 9:27 PM, Florent Georges 
<lists(_at_)fgeorges(_dot_)org> wrote:
 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()">
       true
   </xsl:if>
</xsl:template>

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


-- 
Regards,
Mukul Gandhi

--~------------------------------------------------------------------
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>
--~--