This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Can I have a variable inside select attribute of xsl:value-of Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Can I have a variable inside select attribute of xsl:value-of" Watch "Can I have a variable inside select attribute of xsl:value-of" New topic
Author

Can I have a variable inside select attribute of xsl:value-of

Mahendran Aiyappan
Ranch Hand

Joined: Sep 05, 2005
Posts: 102
Hi guys

Whether the following code will work



watch out the {@lan} which is an attribute of day
Thanks for your comments
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
This should work..

<xsl:value-of select="mealinfo/@lan/soup/@name"/>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I have a variable inside select attribute of xsl:value-of