This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Re: Finding out the existence of a node
- From: Peter Davis <pdavis152 at attbi dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 1 Jul 2002 06:11:54 -0700
- Subject: Re: Re: [xsl] Finding out the existence of a node
- References: <20020701114459.27603.qmail@webmail27.rediffmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 01 July 2002 04:44, Kalyan Kumar Mudumbai wrote:
> <xsl:apply-templates select="document($source)//$node_name"/>
>
> Can I do this?
No. You want document($source)//*[local-name() = $node_name"]. The only
difference between this and your original problem is the '//' shortcut
instead of spelling out the 'descendant:' axis.
- --
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9IFUcNSZCJx7tYycRAg53AJ4wxFpQbgu7ZVmC9BNJae03AYkWZACfTufj
d9RjkDJjlOt44hdvqN7qK8s=
=cZEM
-----END PGP SIGNATURE-----
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list