IBM
A2060-218 · Question #32
A developer needs to check if the 'Preprocess' element equals 'Y' in Process Data. Which statement is most efficient?
The correct answer is B. string(INPUT/Header/Preprocess) = 'Y'. See the full explanation below for the reasoning.
Question
A developer needs to check if the 'Preprocess' element equals 'Y' in Process Data. Which statement is most efficient?
Options
- AINPUT/Header/Preprocess = 'Y'
- Bstring(INPUT/Header/Preprocess) = 'Y'
- Cstring(//INPUT/Header/Preprocess) = 'Y'
- D//ProcessData/INPUT/Header/Preprocess/text() = 'Y'
How the community answered
(33 responses)- A15% (5)
- B70% (23)
- C9% (3)
- D6% (2)
Community Discussion
No community discussion yet for this question.