[xquery-talk] Getting a bare & and > into HTML for Javascript

David Lee dlee at calldei.com
Wed Jul 20 09:24:33 PDT 2011


I was afraid of that :)
But yes its the obvious answer and I may well do that.
This is an experimental prototype so I'm stumbling on new ground ...


----------------------------------------
David A. Lee
dlee at calldei.com
http://www.xmlsh.org


-----Original Message-----
From: talk-bounces at x-query.com [mailto:talk-bounces at x-query.com] On Behalf
Of Andrew Welch
Sent: Wednesday, July 20, 2011 12:19 PM
To: David Lee
Cc: talk at x-query.com
Subject: Re: [xquery-talk] Getting a bare & and > into HTML for Javascript


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
_______________________________________________
talk at x-query.com
http://x-query.com/mailman/listinfo/talk



More information about the talk mailing list