| Author |
element content
|
Vishnu Prakash
Ranch Hand
Joined: Nov 15, 2004
Posts: 1026
|
|
<xml id="note"> <note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note> </xml> 1. The text between start tag and end tag of an element is called an element content. Example: In the <to> element "jani" is the element content 2. The <note> element has only other child elements, and not text it is said to have element content. Since <to>, <from>, <heading>, <body> have only text as child, they are said to have simple content. Question: Some one please tell me which one is a element content.
|
Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
|
The first and fifth hits when Googling for "xml element content" explain the concept quite clearly.
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12271
|
|
|
The javadocs for org.w3c.dom.Node have a great table that summarizes the contents of the various kinds of Node (including Element).
|
 |
 |
|
|
subject: element content
|
|
|