Added automatic parsing of element content. Fixed minor typo in the documentation