Element : represents DOM elements, which are specified by tags in XML: <someElement></someElement>
.
Text : represents the text between the opening and closing tag of an element: <someElement>Here is some text.</someElement>
.
Comment : represents an XML comment : <!-- notes about this data -->
.
Attr : represents an attribute of an element: <someElement myAttribute="123" />
.