Process XslLiteralElements with only child attributes as empty ones.
Fixes #14751