• 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

xslt

 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic