Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

xslt  RSS feed

 
Hari priya
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 ]
 
Balaji Loganathan
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!