XQuery to get detailed Asset dependencies of an Asset

Hi Everyone,

When we generate Impact Analysis on an Asset, the report generates a detailed report (based on the selections of Assets and Association types) of the dependent assets.

I believe that there are series of Xqueries being run in the back ground to provide this functionality. Does anyone know how to get hold of these queries? or what these queries are?

Scenario:

I am using BIRT To design custom reports for Centrasite Reporting and the Customer wants a Custom report similar to that of the Impact Analysis functionality (control the depth of dependencies to show up etc).

The idea is to run these queries automatically for every 24 hrs (on the Centrasite database) and export the report as an XML doc and email it to the SCM team.

Cheers,
Akshith