Support #3065
Updated by Michael Kay almost 8 years ago
For a project that I'm working on I'm using serialize to render some html as a string for inclusion in the meta/@content value of an html document. A singularly large search company has imposed a very specific character escaping requirement for single quotes (as @'@) ') and double quotes (as @"@). "). I've tried playing around with various values of output:use-character-maps and saxon:character-representation but none have resulted in the dictated output. I always end up with unescaped single quotes and " for double quotes. I've attached a toy stylesheet to demonstrate what I'm attempting. Is this at all possible with the capabilities available in Saxon?