Hello Tessiturians. I'm trying to make the date display as TBD for certain perfs in our email confirmation, and I know I'm screwing up the syntax. Can anybody correct me? What I've tried is below.
<xsl:if test="perf_no < 5457">
<xsl:value-of select="$dt" />
<br/> </xsl:if>
<xsl:if test="perf_no > 5456 and perf_no<5463">
TBD<BR/>
</xsl:if>
Amanda, I think you are missing another </xsl:if> at the very end.
Sabina
From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Amanda FreemanSent: Wednesday, October 12, 2011 10:28 AMTo: Sabina SpilkinSubject: [Tessitura Technical Forum] Syntax help
This message was sent automatically to you by www.tessituranetwork.com because you subscribed to the Tessitura Technical Forum. You may reply to this message to post to the Technical forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!
Oh, actually, now that I look at it...I do have one I just forgot to paste it into my original post.
Any other theories?
Couldn't be something silly like a spacing issue.
perf_no < 5463 rather than perf_no<5463
Alternative may be to assign to a date_disp variable using the choose functionality (case statement)
Mark
Thanks all, for your suggestions.
I'm pretty sure I've got the syntax for the conditional correct, but now I'm getting an error that the variable pkgno is out of scope. Not sure how I did that. The only change was related to what to display for the perf dt.
Any more suggestions? Thanks, Tessiturians.