Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

XML Exam I10-003 Topic 6 Question 44 Discussion

Actual exam question for XML's I10-003 exam
Question #: 44
Topic #: 6
[All I10-003 Questions]

Select the correct result of executing the following [XQuery] on [example xml] referenced in a separate window.

[XQuery]

{

for $record in fn:doc("example.xml")/example/record

return

{ fn:data($record/data) }

}

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Lou
5 months ago
I think the correct answer is D because there might be an error in the XQuery.
upvoted 0 times
...
Marti
5 months ago
But A seems to match the XQuery logic better.
upvoted 0 times
...
Kindra
5 months ago
The XQuery is pretty straightforward. I'm not seeing any reason why an error would occur, so I'm going with option A.
upvoted 0 times
Mitsue
4 months ago
Yeah, I agree. Option A looks right to me too.
upvoted 0 times
...
Armanda
4 months ago
I think the correct answer is A.
upvoted 0 times
...
...
Melodie
5 months ago
I disagree, I believe the correct answer is B.
upvoted 0 times
...
Ashley
5 months ago
Ha! Someone must have really been grasping at straws to come up with that second option. Clearly, the correct answer is A.
upvoted 0 times
...
Margo
5 months ago
I'm not sure why option B is even an option. That output doesn't make any sense given the XML structure.
upvoted 0 times
...
Francisca
5 months ago
The output looks like the correct result to me. The XQuery is extracting the 'data' elements from each 'record' and returning them as individual 'record' elements.
upvoted 0 times
Quiana
4 months ago
Mariann: I see your point, but I still think B) is the correct result.
upvoted 0 times
...
Mariann
4 months ago
I agree with Phil, A) looks like the correct output to me.
upvoted 0 times
...
Phil
5 months ago
I disagree, I believe the correct result is B) 50802506090150
upvoted 0 times
...
Clemencia
5 months ago
I think the correct result is A) 5060
upvoted 0 times
...
...
Marti
6 months ago
I think the correct answer is A.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77