xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[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()">
       true
   </xsl:if>
</xsl:template>

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


--
Regards,
Mukul Gandhi


Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor