Difference between node and element in xml

Everything is a node in a xml document.Element is a node beside this,there are many others nodes in a xml document,such as:text node,attribute node and so on(even a comment is a node).

Element is a whole tag(<xx />).

posted on 2013-02-25 18:44  wyman25  阅读(243)  评论(0编辑  收藏  举报

导航