[xquery-talk] Add value to result before a for loop

Gary Larsen gary.larsen at envisn.com
Wed Jul 18 07:20:09 PDT 2012

That's it!  Thanks.


-----Original Message-----
From: David Carlisle [mailto:davidc at nag.co.uk] 
Sent: Wednesday, July 18, 2012 10:04 AM
To: Gary Larsen
Cc: talk at x-query.com
Subject: Re: [xquery-talk] Add value to result before a for loop

On 18/07/2012 14:59, Gary Larsen wrote:
> string-join($hdr, $body)

string join tales a sequence as the first argument and a separator 
string as the second so that should be

  string-join(($hdr, $body),'')

the examples posted all had '' as the second argument or '
' if you 
want to add the line sep at that point rather than add it to each item)


google plus: https:/profiles.google.com/d.p.carlisle

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