XSLT - HTML
-
hi folks... I need to change the color of tr to red when @result attribute contains "failed". When i executed above snippet i got the following error. "End tag 'xsl:when' doesn't match the start tag 'tr'"?? Any workarounds ?? Thanks in advance... Regards, Hatim Ali.
-
hi folks... I need to change the color of tr to red when @result attribute contains "failed". When i executed above snippet i got the following error. "End tag 'xsl:when' doesn't match the start tag 'tr'"?? Any workarounds ?? Thanks in advance... Regards, Hatim Ali.
Well, you've not posted your xslt, but the problem is exactly as the message says, and the work around is to make your html valid xml. You have two tr starting elements, and only one is being closed. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
-
hi folks... I need to change the color of tr to red when @result attribute contains "failed". When i executed above snippet i got the following error. "End tag 'xsl:when' doesn't match the start tag 'tr'"?? Any workarounds ?? Thanks in advance... Regards, Hatim Ali.
Try something like this giving condition in this way dont know what is there in ur xsl, but this might work if there is only 1 condition or try with choose here age artist title etc are tags of XML try this out! :)Be Humble in Victory and Strong in Defeat.:) -Het