Hi Everyone,
I need to get it done asap, Please give me some solution
I have XSLT file which is used to load Web XSLTransform.
If the field value is Empty i have to replace it with my own value
eg
User
XSLT values are getting loaded from DB. so i dono whether value will be empty or not..
I want to check ALL THE VALUES in XSLT dynamically
Advanced Thanks
Loading
Sam HobbsPosted Sep 7, 2011, 2:17 AM
To answer your last question, XSL is quite different from most anything else. You cannot create a variable in XSL like in most languages. I assume there is a way you can do what you need to do but I do not know what.
narasimman gPosted Sep 7, 2011, 1:05 AM
Thanks for the solution,
it worked like charm,
I am new to XSLT, I need solution for one more doubt,
is it possible to Declare variable and use it? like c#...
Consider my scenario...Am using for each loop inside xslt..
Based on a condition am adding NA to the
if the loop executes four times and condition satisfied twice..
The TD becomes NANA.. i want only one NA...
(If all the loop satisfies the condition i want only one NA in TD...nOT like NANANANA) hope you can understand.. i have bit difficulty explaining my scenario
Cheers
Sam HobbsPosted Sep 5, 2011, 2:53 PM
or: