Subject: Re: [xsl] Re: Problem with Parameter binding with String From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 29 Aug 2003 11:43:36 -0400 |
It seems like you can only use the parameter(variable) in the predicates with XPATH.
So, I can do this:
<xsl:copy-of select="*[name(.) = $pName]"/>
To copy the orignal element to the output.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Problem with Parameter bi, Dongling Ding | Thread | [xsl] Announce: Public XSL training, G. Ken Holman |
[xsl] xsl sort query, Cormac Fiddes | Date | Re: [xsl] xsl:number and including , Wendell Piez |
Month |