Interesting XSL Dilemma
Posted
by
bobber205
on Stack Overflow
See other posts from Stack Overflow
or by bobber205
Published on 2010-12-31T22:51:40Z
Indexed on
2010/12/31
22:53 UTC
Read the original article
Hit count: 146
I've got this issue.
A template called "checkbox" that's called from while inside a table HTML element and also outside of it.
To solve an issue, I've added tags to "checkbox" input control.
Here's what I'd like to do to but I'm not sure if it's possible or not.
When I hit my "row" (part of the custom table markup) template, I would set some variable or pass some parameter, that for each template applied afterwards, would know it was in a "row" and do something special based on this information. I know I can't add parameters to apply-templates. I may be able to add a row "mode" but I can't make changes to each template and have one copy with the mod parameter and one without.
Thanks for any suggestions. I know the ideal solution would to be to make changes to the XML but I'm not sure if I can do that as this point. That's a "content" issue. :P
Thanks!
© Stack Overflow or respective owner