Referencing ancestor nodes in an XML datasource

The documentaion on XML datasources says:

To move to the parent value of the current node (for example, to determine the category to which a person belongs), use a slightly different syntax:


The ancestor keyword indicates that you are referring to a parent node of the current node;

A simplified example of the data is as follows:

      <label>My label</label>
      <title>A title</title>

How do you reference an element that is in an "unrelated" node? i.e. how do I reference /data/meta/unrelated/code from node ?

The datasource for the subreport is:


Any assistance would be greatly appreciated.

garry_3's picture
Joined: Jan 3 2016 - 11:53pm
Last seen: 4 years 10 months ago

0 Answers:

No answers yet