Added documentation to the append method

I know it's stated on the `rootElement` but I feel re-iterating it here is also helpful.

Fixed typo
Merge pull request #2222 from lsdafjklsd/patch-1

Added documentation to the append method