File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 978
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
 
Similar Threads
XSL 2.0 (looking for ideas)
xsl for each
How to generate SVG from XML via XSLT?
xslt /xpath issue
Unable to show data using XSL