support for nested xml