Timeline for XSLT with in CQWP leaving html tags open when empty
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 7, 2012 at 14:34 | comment | added | Eric Alexander | If you need to do it in a number of places, you could always make it a template and just call that template where needed. I went with choose so you could inject anything you wanted into the output like a generic message or any other html. | |
Jun 7, 2012 at 14:23 | comment | added | Colin Murray | Thanks for the response, that way would be rather verbose as I need to do it in a number of places. If I was going to do it with a test I would use this code <xsl:if test="Message != ''"> <h2><xsl:value-of select="Message"/> </h2></xsl:if> | |
Jun 7, 2012 at 14:12 | history | answered | Eric Alexander | CC BY-SA 3.0 |