Referencing attribute of grand parent sibling element

I am trying to reference an attribute of a grand parent sibling element (yes it is confusing) and I can't figure it out. I found a work around, but would like input to how (if?) it can be done "correctly".

 

The setup:

  • Element A
    • Element AA
      • Attribute AA1
    • Element AB
      • Element ABA
        • Attribute ABA1
    • Attribute A1

I would like to reference Attribute AA1 from Attribute ABA1 and I have tried the following without luck:

  • ..\Element A\Element AA|Attribute AA1
  • ..\Element AA|Attribute AA1
  • ..\..\Element AA|Attribute AA1

I have found a workaround by making Attribute A1 reference Attribute AA1 with .\Element AA|Attribute AA1. I can then reference Attribute A1 from Attribute ABA1 with ..\..\|Attribute A1

 

Is the work around the way to go or is there a better way?

 

Parents Reply Children
No Data