I'm totally new at BI Publisher and XML templates. I'm trying to update a template to add the logo for a new company/organization. The same templates will be used for 3 separate branches/organizations within JD Edwards.
I'm having trouble trying to conditionally set the url code in the alt text of the dummy image. I think it's because the interpreter can't understand having a <?choose:?> tag inside the url{} definition? How can I use a choose function to return the proper string to the url{} definition?
Two options:
Concatenation:
Just concatenate the source location of your image with an XML variable that holds the brand name.
Assuming your
BRANCH_NAME_XML_ELEMENTisWALMARTit will then load the image:/folder1/folder2/WALMART_LOGO.JPGIF Statements
Make three different dummy images. Each with their respective URL for the logo. Then put each image within an if/end if statement. Will make things look like hell in the RTF file, but it will functionally work when everything is rendered.