[xml] xmlChildrenNode



hi!


I have xml

<body>
<text>hello</text>
</body>

and

<body>
hello
</hello>

both <body> nodes have xmlChildrenNode. how do I know that the child in
the first xml is another node, but in the second one is a text ?

sory, if this is a simple question, I'm still learning.

regards
hubert



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]