XML Parent

An XML Element for example element “A” is said to be parent of element “B” if element “B” is directly defined inside element “A”.

Example:

In the above example <message></message> is parent element for <from></from>,<subject></subject> and <body></body> element.