[MarkLogic Dev General] How to test for JavaScript objects

2012-05-18 Thread Tim Finney
Hi All, What is the recommended way to test whether a client's browser has a particular JavaScript object (e.g. localStorage, JSON) and to get the answer into an XQuery? Here's what I'd like to be able to do: let $has-local := my:client-JS-has(localStorage) return if ($has-local) then (

Re: [MarkLogic Dev General] How to test for JavaScript objects

2012-05-18 Thread Geert Josten
-boun...@developer.marklogic.com [mailto:general- boun...@developer.marklogic.com] Namens Tim Finney Verzonden: vrijdag 18 mei 2012 22:03 Aan: general@developer.marklogic.com Onderwerp: [MarkLogic Dev General] How to test for JavaScript objects Hi All, What is the recommended way to test

Re: [MarkLogic Dev General] How to test for JavaScript objects

2012-05-18 Thread Tim Finney
] How to test for JavaScript objects Hi All, What is the recommended way to test whether a client's browser has a particular JavaScript object (e.g. localStorage, JSON) and to get the answer into an XQuery? Here's what I'd like to be able to do: let $has-local := my:client-JS