[xquery-talk] What does [.] do.

David Carlisle davidc at nag.co.uk
Mon Jan 27 07:18:16 PST 2014

On 27/01/2014 15:14, David Lee wrote:
> I wouldnt do
> (readingMaterial|publication)/string()
> or
> (xs:string(readingMaterial),xs:string(publication))[.]
> unless you absolutely knew for sure that only 1 existed.
> If both exist you will get 2 strings.

Yes sure, but same is true of the rather more opaque original
I was trying to get same result (modulo , | change) :-)


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 

More information about the talk mailing list