Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Querying XML

Hi All,

ASD.png

Above is my XML which I have been able to query to a certain point. However, I am having trouble linking the "CP" element back to the RId.

How would you get the RId?

My XML Query looks like;

XMLOutput:

Load

RId as RatingJoin,

PIncIPT ,

PExIPT ,

PIncIPT - PExIPT,

From_Field('Policy','RD') (xmlSimple, table is [RatingData]);

CPOutput:

Load

[RatingData/RId],

I as [True/False],

V

From_Field ('Policy','RD') (xmlSimple, table is [RatingData/CP/CPI])

where I = 'true'

but for the life of me, I cannot join CPOutput to join back to the RatingData XMLQuery.....

0 Replies