SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
XML XPATH
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Inserts new itemX into the collection at the positionX - example insert-before("a", "b", "c"), 3, "z") returns (abzc)
insert-before((item1, item2, item3...), positionX, itemX)
minutes-from-time(time)
day-from-date(date)
'//'
2. Predicates work somewhat like _____________
arrays and functions
child nodes
remove((item1, item2, item3...), position)
normalize-space(str)
3. Selects parent of current node
@
standard function
..
floor(num)
4. Returns substring from start position to end of string
//book/title | //book/price
processor application
books/book[1]
substring(str,start)
5. Selects all title elements of the book element AND all price elements in the entire document
ends-with(str1, str2)
/bookstore/book/title | //price
substring-before(str1, str2)
starts-with(str1, str2)
6. Concatenates strings together (example concat('It",'is','cool') returns "Itiscool"
year-from-date(date)
..
concat(str1, str2, str3...)
seconds-from-time(time)
7. Returns n-length substring from start position
month-from-date(current-date())
substring(str1, start, len)
@
current-date()
8. Selects all title elements which have any attribute
normalize-space(str)
//title[@*]
books/book[1]
contains(str1, str2)
9. The process of taking raw XML - adding XSL - and outputting a document file of some type
transformation
insert-before((item1, item2, item3...), positionX, itemX)
abs(num)
timezone-from-time(time)
10. Returns true if str1 ends with str2
usable document
ends-with(str1, str2)
processing-instruction
floor(num)
11. Returns everything after the first occurrence of str2
index-of((item1, item2), item3...), target)
books/book[1]
substring-after(str1, str2)
current-date()
12. In str1, replaces all occurrences of str2 with str3
replace(str1, str2, str3)
.
/bookstore/book/title | //price
seconds-from-time(time)
13. Returns time right now
//title | //price
current-date()
year-from-date(date)
current-time()
14. Use a | to select more than one _____ (means AND)
trees of nodes
//book[@isbn]
path
books/book[1]
15. Converts string number to numeric value
number(arg)
path
//*
day-from-date(date)
16. XPath contains a library of _________
books/book[1]
compare(arg1, arg2)
standard function
usable document
17. Selects current node
.
remove((item1, item2, item3...), position)
current-time()
trees of nodes
18. Selects last book element from the children of books element
books/book[last()]
month-from-date(current-date())
Xpath operators
current-time()
19. Selects all title AND price elements of all book elements
substring-before(str1, str2)
Xpath operators
//book/title | //book/price
current-time()
20. Compares strings, returns 0 if same, -1 if not same
starts-with(str1, str2)
parent
compare(arg1, arg2)
path expressions
21. Selects all book elements with an attribute isbn=
nodes
Xpath operators
//book[@isbn]
XSLT
22. Returns October or 10 ?
minutes-from-time(time)
XSLT
month-from-date(current-date())
compare(arg1, arg2)
23. Returns next lowest integer
not(arg)
floor(num)
day-from-date(date)
ends-with(str1, str2)
24. Returns timezone value from time passed
timezone-from-time(time)
boolean(arg)
sequence
criteria
25. Returns boolean true or boolean false
transformation
true() and false()
books/book[1]
instinct-values(item1, item2, item3...))
26. XML documents are treated as _________- so the root of the tree is called the document node or root node
path
ceiling(num)
trees of nodes
true() and false()
27. Returns true if str1 contains str2
sequence
contains(str1, str2)
path expressions
current-time()
28. Converts value to a string
minutes-from-time(time)
ends-with(str1, str2)
replace(str1, str2, str3)
string(arg)
29. Returns month value out of date passed
translate(str1, str2, str3)
child nodes
not(arg)
month-from-date(date)
30. Removes item in the position - example: remove(("ab", "cd", "ef"), 1) returns ("cd", "ef")
string(arg)
current-date()
remove((item1, item2, item3...), position)
/bookstore/book/title | //price
31. selects first book element from the children of books element
books/book[1]
..
transforming
string-join((str1, str2, str3), separator)
32. Returns false if true - true if false (negative logic)
books/book[price > 35.00]
round(num)
child nodes
not(arg)
33. Selects all elements in the document
string-join((str1, str2, str3), separator)
//*
seconds-from-time(time)
ceiling(num)
34. Returns today's date
..
'/'
floor(num)
current-date()
35. Concatenates strings together with separator between each string
upper-case(str)
string-join((str1, str2, str3), separator)
standard function
lower-case(str)
36. Returns 2008
substring-before(str1, str2)
//book[@isbn]
year-from-date(current-date())
replace(str1, str2, str3)
37. Selects all book elements with a child element "price" with values greater than 35
@
books/book[price > 35.00]
contains(str1, str2)
books/book[1]
38. Returns complete date/time
round(num)
string(arg)
number(arg)
current-dateTime()
39. Returns true if str2 appears anywhere inside str1
index-of((item1, item2), item3...), target)
matches(str1, str2)
number(arg)
parent node
40. XPath is a major element in _______
path
//book/title | //book/price
string(arg)
XSLT
41. _______ have 3 primary relationships: parent - child - sibling
nodes
current-date()
insert-before((item1, item2, item3...), positionX, itemX)
processor application
42. 3 wildcards: ? matches any element node - @ matches any ___________ - node() matches any node of any kind
attribute node
books/book[1]
abs(num)
syntax
43. Converts string to upper case
.
upper-case(str)
//book[@isbn]
day-from-date(date)
44. Returns length of current node string
timezone-from-time(time)
string-length()
round(num)
arrays and functions
45. Returns day value from date passed
transformation
processor application
day-from-date(date)
//book/title | //book/price
46. Selects attributes
seconds-from-time(time)
year-from-date(date)
books/book[position()
@
47. Transformation is actually accomplished by a _____________ like Saxon XSLT
index-of((item1, item2), item3...), target)
nodes
current-time()
processor application
48. Selects from the root node
'/'
49. Returns true if str1 starts with str2
string-length()
replace(str1, str2, str3)
starts-with(str1, str2)
concat(str1, str2, str3...)
50. Sibling nodes all have the same ______
transformation
parent
instinct-values(item1, item2, item3...))
index-of((item1, item2), item3...), target)
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests