Summary
BI Publisher for MS Word - if else condition for paragraph
Content
Working on a report where I would use a if else conditions for certain data and XML fields to appear/disappear. I have looked into XSL, XDO and FO functions but I keep running into fundamental errors among them. Essentially, I'm looking for functions to handle a paragraph with a header, text and XML elements to appear if condition is met and not appear at all if condition is not met.
Ex.
If A.PLAN_TYPE = 1
output:
COVERAGE
Your plan type XMLfield 1 expires on XMLfield2
and
else A.PLAN_TYPE != 1
output:
(blank)
I have tried multiple ways of doing this and have struggled getting the underline to appear, tried doing it with xsl but no luck. If there is any resources out there that would be helpful as well.