I'm using XSLT to format the email that's sent when a form is submitted in Contour. This is working fine, but I also have some logic in the XSLT to send other emails depending on the content submitted in the form. I'm using the following line:
where $bodytext contains the marked-up body of the email. It's working in that it's sending the additional email, but the body of the email is having the mark-up striped out so it only contains the text of the email. I've tried a few things but nothing has fixed this issue.
Don't know if this is the issue, but value-of has an attribute disable-output-escaping which could be set to "yes", like this: disable-output-escaping="yes".
Note: To send the boolean value, use 1 or 0 (zero) or the real XSLT
booleans true() and false() - anything else is very likely to be
wrongly interpreted.
Using XSLT to send emails from Contour
Hi,
I'm using XSLT to format the email that's sent when a form is submitted in Contour. This is working fine, but I also have some logic in the XSLT to send other emails depending on the content submitted in the form. I'm using the following line:
where $bodytext contains the marked-up body of the email. It's working in that it's sending the additional email, but the body of the email is having the mark-up striped out so it only contains the text of the email. I've tried a few things but nothing has fixed this issue.
Any ideas?
Thanks,
Mike
Don't know if this is the issue, but value-of has an attribute
disable-output-escaping
which could be set to "yes", like this:disable-output-escaping="yes"
.Also, it says in the wiki for the GetMedia method , that
So perhaps you should try
is working on a reply...