Subject: Re: [xsl] Generating JSP/JSTL From: "Rashmi Rubdi" <rashmi.sub@xxxxxxxxx> Date: Tue, 24 Apr 2007 19:49:42 -0400 |
Thank you Robert, I didn't think of the escaping of the curly brackets, that's a good solution.
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 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Generating JSP/JSTL, Robert Koberg | Thread | Re: [xsl] Generating JSP/JSTL, Joe Dane |
Re: [xsl] Generating JSP/JSTL, Robert Koberg | Date | RE: [xsl] suggestions for per reque, Andrew Mason |
Month |