if
(
exists folder "C:\Program Files\tivoli\cit\properties\version" AND exists file whose
(
name of it ends with ".cmptag"
)
of folder "C:\Program Files\tivoli\cit\properties\version"
)
then
(
(
it as text
)
of xpaths "/Component/ComponentVersion" of xml document of file whose
(
name of it ends with ".cmptag"
)
of folder "C:\Program Files\tivoli\cit\properties\version"
)
else ERROR "No CIT Scanner"
if(exists folder "C:\Program Files\tivoli\cit\properties\version" AND exists file whose(name of it ends with ".cmptag") of folder "C:\Program Files\tivoli\cit\properties\version") then ((it as text) of xpaths "/Component/ComponentVersion" of xml document of file whose(name of it ends with ".cmptag") of folder "C:\Program Files\tivoli\cit\properties\version") else ERROR "No CIT Scanner"