[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: String->LocationPath

Subject: Re: String->LocationPath
From: "Nikolai Grigoriev" <grig@xxxxxxx>
Date: Mon, 29 Nov 1999 18:57:22 +0300
Re: String->LocationPath
Try <xsl:apply-templates select="*[name()=$query]"/>.

Nikolai

-----Original Message-----
From: Harbarth, Juliane <Juliane.Harbarth@xxxxxxxxxxxxxx>
To: 'xsl-list@xxxxxxxxxxxxxxxx' <xsl-list@xxxxxxxxxxxxxxxx>
Date: Monday, November 29, 1999 5:22 PM
Subject: String->LocationPath


>
>I tried to run a stylesheet that inputs a parm and
>interprets the value of it as a location path.
>I.e.
> <xsl:param name="query">no-default</xsl:param>
> ...
> <xsl:template name="querytemp">
>  <xsl:apply-templates select="$query"/>
> </xsl:template>
>
>This yields "cannot convert to node-set" when
>running it with XT. Of course, query is a variable
>that holds a string, thus $query ia a String
>expression and not a node-set expression.
>
>Is there anything I can do except generating the
>stylesheet on the fly ?
>
>Juliane
>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.