This would be a great addition to WP core.

I've suggested an enhancement which would allow you to export a specific page and all of its children, too. I'm hoping this makes it into the plugin.