(XSLT does actually have a standard, syntax checking and built-in context-sensitive quoting)
lmao. Thanks, hadn't seen that one.