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

RE: XSLT: conversion: string variable to selection pattern

Subject: RE: XSLT: conversion: string variable to selection pattern
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 14 Jul 1999 13:57:47 +0100
xsl string variable
> 
> <xml:template name="myTemplate" match="$myString">
> 
> The above syntax doesn't work;  is there a way to explicitly 
> convert my string variable into a reference pattern

No. There is no way to construct an expression or pattern in XSLT at
run-time, any more than there is in (say) C or C++. XSLT is not a reflexive
language, the stylesheet has no access to itself.

If you really need this, the only solution is to generate a stylesheet and
then execute it.

Mike Kay 


 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.