[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: How to quote "${abc}" so it will pass through with

Subject: RE: 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
xslt pass through
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.