exam questions

Exam JN0-221 All Questions

View all questions & answers for the JN0-221 exam

Exam JN0-221 topic 1 question 53 discussion

Actual exam question from Juniper's JN0-221
Question #: 53
Topic #: 1
[All JN0-221 Questions]

Given the <name> username </name> XML code, what is the information between the opening and closing tags called?

  • A. name node
  • B. data node
  • C. text node
  • D. element node
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Reference:
https://www.juniper.net/documentation/en_US/junos/topics/concept/junos-script-automation-xml-overview.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
shiiitboi
Highly Voted 4 years, 2 months ago
Option C is correct. https://www.juniper.net/documentation/en_US/junos/topics/concept/junos-script-automation-xpath-overview.html
upvoted 7 times
rodobrian
3 years, 5 months ago
option C is correct. From the document referenced here: These XML tag elements show examples of the following types of XPath nodes: <host-name>my-router</host-name>—Element node my-router—Text node inactive="inactive"—Attribute node
upvoted 4 times
...
...
NETchan
Most Recent 3 years, 3 months ago
D is the correct answer. element nodes appear in between opening and closing tags. text nodes appear after parents. in the question's case the text node is username with <name> as the parent. https://www.ibm.com/docs/fi/db2-for-zos/11?topic=nodes-text
upvoted 1 times
...
lucaboban
4 years, 2 months ago
Correct option is: D. it is called element and be text and etc.
upvoted 1 times
aleksos
3 years, 8 months ago
NO! C is correct! Element node --> tags with value: <name> username </name> Text node - only --> username
upvoted 3 times
...
owlbufi
4 years, 1 month ago
The question is asking about the part between opening tag (<name>) and closing tag (</name>). Which is called text node. C. is correct!
upvoted 5 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago