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

Re: Generating JSP/JSTL

Subject: Re: Generating JSP/JSTL
From: "Rashmi Rubdi" <rashmi.sub@xxxxxxxxx>
Date: Tue, 24 Apr 2007 19:49:42 -0400
Re:  Generating JSP/JSTL
Thank you Robert, I didn't think of the escaping of the curly
brackets, that's a good solution.

I'm new to Velocity, but I've heard good things about it.

I've encountered this syntax: <foo bar="<blah:blah/>"/> with JSTL

for example: <a href="<c:out var="someUrl"/>">Link</a> , but later
discovered that the same thing could be written with EL as <a
href="${someUrl}">Link</a>

But there might be other constructs that require things to be written as
<foo bar="<blah:blah/>"/> in JSTL , my knowledge is limited :-)

-Regards
Rashmi

On 4/24/07, Robert Koberg <rob@xxxxxxxxxx> wrote:
On Tue, 2007-04-24 at 18:47 -0400, Rashmi Rubdi wrote:

> I think there are more challenges when it comes to transforming EL,
> but since these questions pertain to JSP/JSTL - the JSTL mailing list
> may know how to represent EL in XML syntax.

That seems like an XSL issue - escaping curly brackets. You can create a
string variable or just:

<foo bar="${{value}}"/>

What *is* a serious pain with JSP and tag libraries (I suppose more with
the taglibs and their devs...) is the very common use of this type of
thing:

<foo bar="<blah:blah/>"/>

I prefer Velocity.

best,
-Rob

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.