Deal of The Day! 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 10 Question 38 Discussion

Actual exam question for XML's I10-003 exam
Question #: 38
Topic #: 10
[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:

Aimee
4 days ago
Hmm, I think the query is a bit more complex than it appears. The result might be B, since the data values could be concatenated together.
upvoted 0 times
...
Lisandra
8 days ago
The XQuery looks good, but I'm not sure what the example.xml file looks like. The correct answer should be A, since the query is just extracting the data values from the record elements.
upvoted 0 times
...
Lajuana
17 days ago
But A returns individual values, while B concatenates them. That's why I think A is correct.
upvoted 0 times
...
Albert
21 days ago
I disagree, I believe the correct answer is B.
upvoted 0 times
...
Lajuana
22 days 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