[xquery-talk] Masks in xquery
andrew.j.welch at gmail.com
Wed Mar 23 11:40:03 PST 2011
On 23 March 2011 11:05, Julio de la Vega <j.vega at helpprintsolutions.com> wrote:
> Hi *,
> I have a node whose value goes from 1 to 1000 and I have to represent it
> with a mask of 10 digits. For example: 0000000001 or 0000001000. Is there
> any function to do this kind of operation?
let $str := '1000'
let $mask := '0000000000'
return concat(substring($mask, 1, string-length($mask) -
More information about the talk