xsl-list
[Top] [All Lists]

RE: How to quote "${abc}" so it will pass through without evaluation?

2004-06-21 13:50:57
From: Karr, David [mailto:david(_dot_)karr(_at_)wamu(_dot_)net] 
Sent: Monday, June 21, 2004 4:36 PM

I'm trying to write an xsl to transform an Ant script, adding 
a couple targets with tasks that reference patterns like 
"${abc}" in attribute values.  I can't figure out how to 
specify "${abc}" in attribute values in my template so it 
will just generate "${abc}" and will not try to evaluate it.

Double the braces -

{{$abc}}

Cheers,

Tom P