Re: Re: [xsl] Finding out the existence of a node

Subject: Re: Re: [xsl] Finding out the existence of a node
From: Peter Davis <pdavis152@xxxxxxxxx>
Date: Mon, 1 Jul 2002 06:11:54 -0700
-----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


Current Thread