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 HobbsRank #108 · 20.5K reputationPosted Sep 5, 2011, 10:53 AM EDT
or:
narasimman g146 reputationPosted Sep 6, 2011, 9:05 PM EDT
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 HobbsRank #108 · 20.5K reputationPosted Sep 6, 2011, 10:17 PM EDT
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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts