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 I10-001 Exam - Topic 3 Question 31 Discussion

Press the Exhibit button to view the XML document "a. xml", and apply XSLT stylesheet "b. xsl" to "a. xml", and output "10075" as the transformation result. Select which of the following correctly belongs in (1) of the "b. xsl".
D) count[. <= 100]W Courier Newlr Z
A) count[0,1]
B) count[position() < 2]
C) count[position() <= 2]

XML I10-001 Exam - Topic 3 Question 31 Discussion

Actual exam question for XML's I10-001 exam
Question #: 31
Topic #: 3
[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 "10075" as the transformation result. Select which of the following correctly belongs in (1) of the "b. xsl".

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

0/2000 characters
Dahlia
10 months ago
I’m surprised they included D, it looks like a typo!
upvoted 0 times
...
Dyan
10 months ago
A is definitely wrong, count[0,1] isn’t valid.
upvoted 0 times
...
Rosina
10 months ago
Wait, is D even a valid option? Sounds off.
upvoted 0 times
...
Olen
11 months ago
I disagree, C could work too!
upvoted 0 times
...
Yuki
11 months ago
Definitely think it's B, makes the most sense.
upvoted 0 times
...
Dyan
11 months ago
I vaguely recall that using count with position() is common, but I can't remember if it should be < or <=. I hope I pick the right one!
upvoted 0 times
...
Hyun
11 months ago
I'm a bit confused about the options. I feel like count[0,1] doesn't make sense in this context.
upvoted 0 times
...
Samira
11 months ago
I remember we practiced using the count function, but I'm not sure if it's position() < 2 or <= 2 for this question.
upvoted 0 times
...
Mariko
11 months ago
I think we had a similar question where we had to count nodes, and I chose position() < 2. It seems like the right logic here too.
upvoted 0 times
...
Allene
11 months ago
Okay, let me review the options and see if I can identify the two correct answers.
upvoted 0 times
...
Elinore
11 months ago
Okay, I've got this. IXPs definitely provide services at the local, regional, and continental levels, so option D is false. Time to mark that one and move on.
upvoted 0 times
...
Avery
11 months ago
I'm a bit confused on this one. I thought only workers on the floor would count as direct labour—maybe I'm overthinking it and it's indirect expense instead?
upvoted 0 times
...

Save Cancel