[MarkLogic Dev General] Node kind binary() not available in XQuery 3.0

2013-11-25 Thread Florent Georges
  Hi,   In order to deal with binary nodes, I am used to expressions like the following with MarkLogic flavour of XQuery:     $node instance of binary()   But the NodeKind binary() is not available anymore in MarkLogic's implementation of XQuery 3.0.  How can we test whether a node is a binary m

Re: [MarkLogic Dev General] Node kind binary() not available in XQuery 3.0

2013-11-25 Thread John Snelson
On 25/11/2013 12:19, Florent Georges wrote: >Hi, > >In order to deal with binary nodes, I am used to expressions like > the following with MarkLogic flavour of XQuery: > > $node instance of binary() > >But the NodeKind binary() is not available anymore in MarkLogic's > implementati

Re: [MarkLogic Dev General] Node kind binary() not available in XQuery 3.0

2013-11-25 Thread Florent Georges
  Thank you for your response John.  It is good enough for me right now.  Maybe xdmp:is-binary-mode() would make sense though?   Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ Le Lundi 25 novembre 2013 12h45, John Snelson a écrit : On 25/11/2013 12:19, Flore