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

Subject: RE: [xsl] How to quote "${abc}" so it will pass through without evaluation?
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Wed, 23 Jun 2004 10:18:08 -0400
> From: Karr, David [mailto:david.karr@xxxxxxxx] 

> > -----Original Message-----
> > From: Passin, Tom [mailto:tpassin@xxxxxxxxxxxx]
> > Double the braces -
> > 
> > {{$abc}}
> 
> This helped, but it actually appears to require "${{abc}}".  
> That translates to "${abc}" in the output, as I needed.
> 

Ah, I slightly misunderstood the form of what you wanted.  

> Where is it described exactly what that's supposed to do?  Is 
> this described in MK's XSLT Prog. Ref. - First Edition?

It's in the xslt recommendation.  The braces delineate an "Attribute
Value Template".   That means that the processor is supposed to evaluate
what's in the braces as an xslt expression.  Doubling the braces is the
escape mechanism to prevent the evaluation.  You would use an AVT to
insert values into an attribute.

Cheers,

Tom P

Current Thread