Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Mahendran Aiyappan
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This should work..

<xsl:value-of select="mealinfo/@lan/soup/@name"/>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic