This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Finding out the existence of a node


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]