Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within XML
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
XML and Related Technologies
Can I have a variable inside select attribute of xsl:value-of
Mahendran Aiyappan
Ranch Hand
Posts: 102
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi guys
Whether the following code will work
<xsl:for-each select="day"> <xsl:value-of select="mealinfo{@lan}/soup/@name" /> </xsl:for-each>
watch out the {@lan} which is an attribute of day
Thanks for your comments
A Kumar
Ranch Hand
Posts: 980
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This should work..
<xsl:value-of select="mealinfo/@lan/soup/@name"/>
Never trust an airline that limits their passengers to one carry on iguana. Put this tiny ad in your shoe:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Unable to show data using XSL
xsl for each
How to generate SVG from XML via XSLT?
XSL 2.0 (looking for ideas)
xslt /xpath issue
More...