This week's book giveaway is in the iOS forum.
We're giving away four copies of Classic Computer Science Problems in Swift and have David Kopec on-line!
See this thread for details.
Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

xslt  RSS feed

 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi -

I am using XSLT to format the information in xml into a html table.

Is there a way to store the value returned by the tag in a variable and so that I can use it again?

Also, I dont want to modify the xml file but just want to modify the data to be displayed. Say for example,

the returns a file name in .pdf, I want to add a hyper link to it with samename but different extension say .jpg

Thank you!

[ August 20, 2004: Message edited by: Hari priya ]
[ August 20, 2004: Message edited by: Hari priya ]
 
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can store the value using xsl:variable tag...see here http://www.w3schools.com/xsl/el_variable.asp
I couldn't able to understand your problem fully to give a code snippet..hope the above tip helps
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!