Re: Value of the variable set with x:set , is [attribute_name=attribute_value] instead of just attribute_value

Rashmi Rubdi <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
Thank you, the solution you have provided works perfectly for my case.
   
  I was just wondering that if [attribute_name=attribute_value] does not have any purpose then, why not just set the value to attribute_value directly when using x:set
   
  If it does have a purpose then the way x:set works now is fine. Anyway this is probably for another discussion thread. 
   
  I think we can close this thread now. Thank you once again for the help.

Kris Schneider <[email protected]> wrote:
  One way:

<c:set var="key"><x:out 
select="$transformed/Products/Product[1]/@l_id"/></c:set>
<c:out value="${key}"/>


 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.