Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Bi Publisher: Referring parent/child elements in xdofx

Received Response
1540
Views
4
Comments

Summary

Bi Publisher: Referring parent/child elements in xdofx

Content

Hi,

I am trying to create an RTF template wherein a field value should use different elements based on a condition. I am using the below construct:

<?xdofx:if SupplierNumber='XXX' then Name else AddressLine1 end if?>

The elements Name and AddressLine1 are at different levels (Payee/Name, Payee/Address/AddressLine1). The condition is working fine but I am not sure if this will cause any issue as the element names are not given complete path and hence might refer to another XML element with the same names.


Could someone tell how we can refer to an element name within xdofx tag ensuring it picks up the correct path - may be using XPath or something?

Thank you,

Answers