• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

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
 
reply
    Bookmark Topic Watch Topic
  • New Topic