|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Selecting from a node-set using variable path
If $mypath is a string, you'll need to use dyn:evaluate from EXSLT or
whatever equivalent you can find for your interpreter.
if $mypath is a nodeset defined by an XPath, e.g. <xsl:variable name="myPath" select="a/b/c"/> then I think you might be able to do something like this: <xsl:template match="$myNodeSet> <xsl:apply-templates select="$myPath"/> </xsl:template> in that case it's wonky but xslt doesn't like to have two variables in the same xpath AFAICT. simon On Tuesday, February 18, 2003, at 02:35 PM, gary fong wrote: For the life of me, I don't know how to do this even though it seems like it would be very easy. --- www.simonwoodside.com <http://ThisURLEnablesEmailToGetThroughOverzealousSpamFilters.org> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








