aspose file tools*
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
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