On 20 July 2011 16:42, David Lee <dlee at calldei.com> wrote: > I'm writing out some small javascript using XQuery, within a <script> tag. I think the best advice is "don't" :) just avoid the pain (and do The Right Thing anyway) and stick it in its own .js file... -- Andrew Welch http://andrewjwelch.com