SOLVED: Well shortly after I started typing this question I came across the answer, but I thought I would post it anyway cause I didn'y find it here on the fourm
<xsl:iftest="string-length($currentPage/youTubeUrl|$currentPage/websiteURL) > 0"> <!-- insert video player code here --> </xsl:if>
All you need to do is list your variables with a | in between and youre all set.
XSLT: If Statement - Show Content if 1 of X Variables are NOT empty
So I use this solution which I got from Matt Brailsford back in the day from a question I asked here on the forums before...
Which works great and I use it all the time... BUT now I need to check multiple strings for content before displaying a section.
If (A) is empty but (B) is full then display the code... and vise-versa. Only if both strings are empty should the code as a whole not display.
SOLVED: Well shortly after I started typing this question I came across the answer, but I thought I would post it anyway cause I didn'y find it here on the fourm
All you need to do is list your variables with a | in between and youre all set.
I came across the answer here: http://www.sourceware.org/ml/docbook-apps/2001-q3/msg00497.html
is working on a reply...