DXL Reference Manual: https://www.ibm.com/docs/en/SSYQBZ_9.6.0/com.ibm.doors.requirements.doc/topics/dxl_reference_manual.pdf
Useful loops
Loop over modules in a project
Project p = current Project
Item i
string i_type = ""
for i in p do {
i_type = type(i)
if (i_type == "Formal") {
print fullName(i) "\n"
}
}
Loop over modules in a folder
Folder f = current Folder
Item i
string i_type = ""
for i in f do {
i_type = type(i)
if (i_type == "Formal") {
print name(i) "\n"
}
}
Loop over objects in a module
Module m = current Module
Object o
for o in m do {
// do something
}
Write to file
Stream output_stream = write(output_path)
output_stream << result_output
close(output_stream)