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. The process of taking raw XML - adding XSL - and outputting a document file of some type
path
substring-before(str1, str2)
transformation
replace(str1, str2, str3)
2. Returns n-length substring from start position
criteria
replace(str1, str2, str3)
substring(str1, start, len)
processing-instruction
3. Replaces chars of str2 found in str1 with chars of str3
concat(str1, str2, str3...)
translate(str1, str2, str3)
hours-from-time(time)
processor application
4. Trims leading and trailing spaces
normalize-space(str)
'//'
timezone-from-time(time)
/bookstore/book/title | //price
5. +, -, *, div, =, !=, <, <=, >, >=, or, and, mod (modulus)
Xpath operators
.
//title[@*]
transformation
6. Element nodes may have zero - one - or more _________
abs(num)
child nodes
nodes
syntax
7. Selects all title AND price elements in the entire document
//title | //price
arrays and functions
syntax
transforming
8. XML documents are treated as _________- so the root of the tree is called the document node or root node
round(num)
parent
attribute node
trees of nodes
9. Selects all the child nodes of the bookstore element
'/'
..
path expressions
/bookstore/*
10. Transformation is actually accomplished by a _____________ like Saxon XSLT
@
/bookstore/book/title | //price
processor application
hours-from-time(time)
11. every element and every attribute have just one _________
floor(num)
arrays and functions
parent node
books/book[position()
12. Inserts new itemX into the collection at the positionX - example insert-before("a", "b", "c"), 3, "z") returns (abzc)
starts-with(str1, str2)
year-from-date(date)
insert-before((item1, item2, item3...), positionX, itemX)
attribute node
13. Compares strings, returns 0 if same, -1 if not same
compare(arg1, arg2)
number(arg)
Xpath operators
hours-from-time(time)
14. Sibling nodes all have the same ______
transforming
//book[@isbn]
..
parent
15. Returns logically rounded integer
//*
ends-with(str1, str2)
criteria
round(num)
16. XPath is a for defining parts of an XML document
substring-before(str1, str2)
syntax
compare(arg1, arg2)
number(arg)
17. Converts value to a string
month-from-date(date)
seconds-from-time(time)
insert-before((item1, item2, item3...), positionX, itemX)
string(arg)
18. Returns true if str1 starts with str2
not(arg)
XSLT
starts-with(str1, str2)
usable document
19. Selects all elements in the document
//*
.
starts-with(str1, str2)
substring-after(str1, str2)
20. ________ allow more specific selections within the XPath
Xpath operators
Predicates
standard function
nodes
21. Returns October or 10 ?
index-of((item1, item2), item3...), target)
parent
month-from-date(current-date())
child nodes
22. Returns true if str1 ends with str2
ends-with(str1, str2)
current-dateTime()
year-from-date(date)
current-time()
23. Converts string to upper case
index-of((item1, item2), item3...), target)
upper-case(str)
string-join((str1, str2, str3), separator)
transformation
24. XSL is what we use to get from readable to _________
instinct-values(item1, item2, item3...))
seconds-from-time(time)
insert-before((item1, item2, item3...), positionX, itemX)
usable document
25. Converts string to lower case
child nodes
substring-before(str1, str2)
.
lower-case(str)
26. Selects all title elements of the book element AND all price elements in the entire document
translate(str1, str2, str3)
year-from-date(date)
replace(str1, str2, str3)
/bookstore/book/title | //price
27. Selects first two book elements from the children of books element
books/book[position()
trees of nodes
contains(str1, str2)
abs(num)
28. selects first book element from the children of books element
starts-with(str1, str2)
minutes-from-time(time)
books/book[1]
abs(num)
29. Selects from the root node
'/'
30. Concatenates strings together (example concat('It",'is','cool') returns "Itiscool"
matches(str1, str2)
books/book[1]
concat(str1, str2, str3...)
//book[@isbn]
31. Selects all book elements with a child element "price" with values greater than 35
books/book[price > 35.00]
path
trees of nodes
//title[@*]
32. Travels from current node to select nodes that match - wherever they are
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
33. XPath is a major element in _______
XSLT
substring(str,start)
books/book[last()]
processor application
34. Returns time right now
current-time()
attribute node
upper-case(str)
day-from-date(date)
35. Returns boolean true or boolean false
/bookstore/*
number(arg)
true() and false()
XSLT
36. In str1, replaces all occurrences of str2 with str3
replace(str1, str2, str3)
//book/title | //book/price
upper-case(str)
matches(str1, str2)
37. XPath contains a library of _________
string(arg)
parent node
standard function
XSLT
38. Concatenates strings together with separator between each string
string-join((str1, str2, str3), separator)
remove((item1, item2, item3...), position)
boolean(arg)
path expressions
39. The XPath division operator not "/" cuz "/" is used in path expressions
arrays and functions
Xpath operators
div
abs(num)
40. Returns complete date/time
attribute node
string-length()
current-dateTime()
books/book[position()
41. Returns length of passed string
transforming
/bookstore/*
path
string-length(str)
42. Returns second value from time passed
replace(str1, str2, str3)
substring(str1, start, len)
string-length()
seconds-from-time(time)
43. Returns true if str2 appears anywhere inside str1
matches(str1, str2)
year-from-date(date)
instinct-values(item1, item2, item3...))
//title[@*]
44. Removes item in the position - example: remove(("ab", "cd", "ef"), 1) returns ("cd", "ef")
processing-instruction
index-of((item1, item2), item3...), target)
concat(str1, str2, str3...)
remove((item1, item2, item3...), position)
45. Returns 2008
year-from-date(current-date())
.
child nodes
transformation
46. _______ have 3 primary relationships: parent - child - sibling
year-from-date(date)
attribute node
nodes
translate(str1, str2, str3)
47. Returns false if true - true if false (negative logic)
string-length(str)
not(arg)
processing-instruction
minutes-from-time(time)
48. Returns all unique values in that collection - example: distinct-values(a, b, c, d, a, c) returns (a, b, c, d)
.
string-length(str)
instinct-values(item1, item2, item3...))
number(arg)
49. Selects attributes
processing-instruction
@
year-from-date(date)
floor(num)
50. 3 parts of XSL (eXtensible stylesheet language): Xpath for navigating XML documents - XSLT for ______ documents - XSL-FO for formatting XML documents
transforming
ceiling(num)
lower-case(str)
processor application
Sorry!:) No result found.
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