Subject: Re: [xsl] Pattern "node()" and document nodes From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 25 Feb 2010 16:33:47 +0000 |
On Thu, Feb 25, 2010 at 9:27 PM, Florent Georges<lists@xxxxxxxxxxxx> 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.
________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Pattern "node()" and docu, Mukul Gandhi | Thread | Re: [xsl] Pattern "node()" and docu, Mukul Gandhi |
Re: [xsl] Pattern "node()" and docu, Mukul Gandhi | Date | Re: [xsl] Pattern "node()" and docu, Mukul Gandhi |
Month |