[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
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 |
> > <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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Microsoft's take on XSL, James Robertson | Thread | Where can I find a DTD for XSL?, Mark Feblowitz |
RE: Computations using XSLT, Kay Michael | Date | Where can I find a DTD for XSL?, Mark Feblowitz |
Month |
Keywords