Using multiple templates in Bursting control file based on a field value
Hi,
I am using the below control file. Can I specify 2 templates (English and French) and print based on employee language preference (field in the data XML: PREF_LANG)
So if PREF_LANG='EN' then English template and if PREF_LANG='FR' then French template.
***START of BURSTING FILE***
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
<xapi:request select="/XXXHRCABEN/LIST_G_BEN_STMT/G_BEN_STMT">
<xapi:delivery>
<xapi:print id="PRINT_DELIVERY" printer="ipp://10.100.208.46/ipp/hold" copies="1" />
</xapi:delivery>
<xapi:document output="${EMPL_NUMBER}" output-type="pdf" delivery="PRINT_DELIVERY">