Thread: $@src
View Single Post
 
Old March 12th, 2008, 04:22 PM
mhkay's Avatar
mhkay mhkay is offline
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

No, it's not possible. Despite the use of $ to indicate a variable reference, XSLT is more like a compiled language than a shell-script language. Variables represent values, they don't represent bits of expression text, and their names are not accessible at run-time.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference