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 78 Discussion

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

Press the Exhibit button to view "Transformation Source XML Document". Select which of the following correctly describes the XPath method (1) and (2) that belongs in the "XSLT Stylesheet" blank space when acquiring the text string "Taro_Suzuki" from the "Transformation Source XML Document". Text String(1) . . . library/book/author Text String(2) . . . library//author

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Leatha
7 days ago
Hah, this one's a piece of cake! I mean, come on, who wouldn't know that (1) is the way to go? It's like finding a needle in a haystack, but the haystack is made of XML tags. Easy peasy!
upvoted 0 times
...
Markus
8 days ago
Well, I guess the correct answer is B. The first XPath expression (1) is correct, as it directly selects the 'author' element under the 'book' element. But the second one (2) is a bit too broad, it would select all 'author' elements in the document, not just the one we want.
upvoted 0 times
...
Bernadine
9 days ago
Well, I guess we will have to wait and see what the correct answer is on the exam.
upvoted 0 times
...
Tegan
10 days ago
I disagree, I believe the correct XPath method is library/book/author.
upvoted 0 times
...
Bernadine
15 days ago
I think the correct XPath method to acquire the text string 'Taro_Suzuki' is library//author.
upvoted 0 times
...

Save Cancel