Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 1 | |
2 | |||
13 | |||
14 | |||
15 | |||
16 |
|
||
17 |
|
||
18 | |||
19 | If there is not any markup inside an Element or Attr node |
||
20 | content, then the text is contained in a single object |
||
21 | implementing the Text interface that is the only child |
||
22 | of the element. |
||
23 | |||
24 | Retrieve the textual data from the second child of the |
||
25 | third employee. That Text node contains a block of |
||
26 | multiple text lines without markup, so they should be |
||
27 | treated as a single Text node. The "getNodeValue()" |
||
28 | method should contain the combination of the two lines. |
||
29 | |||
30 |
|
||
31 |
|
||
32 | |||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | !--nodeValue>!DOCTYPE>!-- |