|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSLT: conversion: string variable to selection pattern
> > <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
|
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








