Hopefully there will be some helpful and knowledgeable soul to help me with the flwg issue!
I'm trying to further customize my VideoBrowse.xsl.
For the selected video tile, it displays 3 columns in the bottom detailed part of Video View: one for Video info, one for Contents info, and one for Cover info.
In the first column which is dedicated to Video info I would like to include info from a Contents field, Custom15 in Contents table.
I wrote the flwg xsl code:
Code: Select all
<xsl:if test="/data/record/contentsdata/custom15 = 'Oui'">
<TR CLASS="fieldrowprevpane">
<TD CLASS="fieldnameprevpane" NOWRAP="">
<xsl:text>Vidéo à générer</xsl:text>:
</TD>
<TD CLASS="fieldvalueprevpane">
<A HREF="ContentsList.xsl?Custom15=True@xmltitle=Vidéos à générer" TARGET="_BLANK" style="font-weight:bold; background-color: maroon; color: yellow">Oui</A>
</TD>
</TR>
</xsl:if>
Running the template produces nothing. No info is displayed while the selected video title has Custom15 enabled (set to Yes).
However when I remove the if test condition the
Code: Select all
<A HREF="ContentsList.xsl?Custom15=True@xmltitle=Vidéos à générer" TARGET="_BLANK" style="font-weight:bold; background-color: maroon; color: yellow">Oui</A>
works just fine except it works for any selected title regardless its Contents/Custom15 is set to Yes or No!
So the problem seems to be with my if test condition.
What's wrong with my syntax?
Thanks a lot in advance for any helpful clue and/or hint.