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:

Fairy
25 days ago
Ah, the joys of XML and XPath. It's like a secret language that only the tech-savvy can understand. I bet the person who wrote this question is laughing maniacally right now, watching us all scratch our heads. But hey, at least it's not JavaScript, am I right?
upvoted 0 times
...
Dorathy
29 days ago
Hmm, I'm not too sure about this one. The second XPath (2) looks like it would get the job done, but I guess the first one (1) is a bit more precise. Either way, I'm just happy I don't have to deal with XSLT in my day-to-day work. That stuff's like ancient hieroglyphics to me.
upvoted 0 times
Destiny
2 days ago
User 2: I agree, but I feel like (1) might be more accurate.
upvoted 0 times
...
Isadora
7 days ago
User 1: I think both (1) and (2) could work.
upvoted 0 times
...
...
Leatha
2 months 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
Karon
27 days ago
User 4: Both (1) and (2) are correct.
upvoted 0 times
...
Sheron
1 months ago
User 3: Yeah, (2) doesn't seem right at all.
upvoted 0 times
...
Larue
1 months ago
User 2: I agree, (1) is the way to go for sure.
upvoted 0 times
...
Leota
1 months ago
User 1: I think (1) is the correct XPath method.
upvoted 0 times
...
...
Markus
2 months 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
2 months ago
Well, I guess we will have to wait and see what the correct answer is on the exam.
upvoted 0 times
...
Tegan
2 months ago
I disagree, I believe the correct XPath method is library/book/author.
upvoted 0 times
...
Bernadine
2 months ago
I think the correct XPath method to acquire the text string 'Taro_Suzuki' is library//author.
upvoted 0 times
...

Save Cancel