Given the following code, what will the XPath /items/item[0]/quantity select? <items>
<item>
<product>
<description>Ink Jet Refill Kit</description>
<price>29.95</price>
</product>
<quantity>8</quantity>
</item>
<item>
<product>
<description>4-port Mini Hub</description>
<price>19.95</price>
</product>
<quantity>4</quantity>
</item>
</items>
A) 19.95
B) 4
C) 8
D) The element does not exist.
Correct Answer:
Verified
Q2: What does DOM stand for?
A)Data Object Model
B)Data
Q22: Where is the createElement method located?
A)DocumentBuilder class.
B)newBuilder
Q24: To write a DOM document, you need
Q36: Given the following code, what will the
Q39: Assuming that path is properly instantiated object
Q51: Which of the following represents the declaration
Q57: A _ is a sequence of rules
Q64: In an attribute definition in a DTD,
Q70: When referencing an external DTD (one not
Q74: Mixed content is _.
A)any sequence of numeric
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents