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-001 Topic 1 Question 91 Discussion

Actual exam question for XML's I10-001 exam
Question #: 91
Topic #: 1
[All I10-001 Questions]

Press the Exhibit button to view the XML document "a. xml", and apply XSLT stylesheet "b. xsl" to "a. xml", and output the "SMTP" in the content of the service element as the transformation result. Select which of the following correctly describes what belongs in (1) of the XSLT stylesheet.

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Regenia
3 days ago
I'm not sure about this one. The question mentions the SMTP output in the service element, so I'm thinking maybe option D is the right answer since it's selecting the first detail element.
upvoted 0 times
...
Leontine
4 days ago
Hmm, that makes sense too. I guess we'll have to carefully analyze the XML document and XSLT stylesheet to determine the correct answer.
upvoted 0 times
...
Kattie
5 days ago
I disagree, I believe the answer is D) /security/detail[1]/service because it directly targets the first service element within the detail element.
upvoted 0 times
...
Tish
8 days ago
Option B seems like the correct answer here. The position() function in XPath returns the position of the current node within the selected node-set, so /security/detail[position()=1]/service will select the service element within the first detail element.
upvoted 0 times
...
Leontine
12 days ago
I think the correct answer is B) /security/detail[position()=1]/service because it specifies the position of the service element within the detail element.
upvoted 0 times
...

Save Cancel