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

Re: Template Select using a param

Subject: Re: Template Select using a param
From: Richard Jarvis <rjarvis@xxxxxxxxxxxxx>
Date: Thu, 9 Mar 2000 16:26:39 +0000 (GMT)
richard jarvis

Hi David,

This seems to be what I need - however, I can't get it to print out any

As I'm quite new to xsl - I was wondering if you could explain what the
statement does exactly - so I can try and work out where I'm going wrong.



On Thu, 9 Mar 2000, David Carlisle wrote:

> > I had hoped to use:
> > <xsl:value-of select="<xsl:value-of select="$path"/>"/>
> well that wouldn't even reach the xsl system as it is not well formed
> XML and would be rejected by the XMl parser.
> You could try
> <xsl:value-of select="{$path}"/>"
> {} syntax being the replacement for value-of in attributes.
> But it doesn't work as value-of (or {} ) return a _string_ not an
> expression.
> saxon has an extension function to evaluate an expression
> as a string, but do you need that here?
> why can't you make the parameter the node list selected rather than the
> path for selecting it:
> <xsl:param name="path" select="
> 	/test/ROWSET/ROW[@*[name(.)=current()/@id]]/*[name(.)=current()]"/>
> (or something like that)
> <xsl:value-of select="$path"/>
> David
>  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


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.
First Name
Last Name
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.