Oracle Analytics

Get Involved. Join the Conversation.

Topic

    Sankar Arumugam
    Bi Publisher: Referring parent/child elements in xdofx
    Topic posted January 31, 2018 by Sankar Arumugam, last edited September 11, 2019 
    994 Views, 4 Comments
    Title:
    Bi Publisher: Referring parent/child elements in xdofx
    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='***' 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,

    Comment