Saxon tries to be helpful if the value of a to be
created attribute contains double quotes and encloses
the value in single qoutes.
Especially when dealing with server side scripting one
could create (X)HTML which is valid only after having
been parsed by the server.
After parsed by server: