954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

XSL related question

Hi I wasn't sure as to where I need to post XSL related questions..Is there anyone in this group who has expertise with XSL? If anyone can help me out with an XSL related question, that would be great.

Ani

anithajoe
Newbie Poster
9 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
 

Take a look at this for dynamic variable names with xsl.

http://bytes.com/forum/thread758105.html

dickersonka
Veteran Poster
1,175 posts since Aug 2008
Reputation Points: 130
Solved Threads: 143
 

In the code below I am just writing a simple for loop in XSL...Instead of creating a dynamic variable name, I have created a variable called sublink1 and later give a dynamic value to it based on loop variable's current value...Later construct a link with "sublink1"..Concept works fine without the for-each..I mean it generated only one link rather than 2 links...But when i give for-each, it doesn't display either of the links...

XML file:
one2 /*this tells the XSL file as to how many sublinks are listed..I
have used that for running the for loop*/
http://www.yahoo.comYahoohttp:www.google.comGoogle

XSL file:



Any suggestions?

Ani
Take a look at this for dynamic variable names with xsl.

http://bytes.com/forum/thread758105.html

anithajoe
Newbie Poster
9 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You