convert child elements

Use recursion to convert all child elements