[xquery-talk] Element list to comma seperated list
Ghislain Fourny
g at 28.io
Wed Sep 25 01:14:47 PDT 2013
Hi,
fn:string-join is a W3C-standardized function, not a FunctX function. Are you sure your XQuery processor does not support it?
http://www.w3.org/TR/xpath-functions/#func-string-join
http://www.w3.org/TR/xpath-functions-30/#func-string-join
Kind regards,
Ghislain
On Sep 24, 2013, at 7:36 PM, sudheshna iyer <sudheshnaiyer at yahoo.com> wrote:
> Hello All,
>
> How do I convert the element list into comma separated list in xquery. I don't have functionx functions. So I can't use string-join.
>
> eg:
> <tns:Customer>
> <tns:General>
> <Positions>
> <corecomponents:Position>pos1</corecomponents:Position>
> <corecomponents:Position>pos2</corecomponents:Position>
> </Positions>
> </tns:General>
> </tns:Customer>
>
> Output:
>
> <tns:Contact>
> <tns:PositionList>pos1,pos2</tns:PositionList>
> </tns:Customer>
>
> _______________________________________________
> talk at x-query.com
> http://x-query.com/mailman/listinfo/talk
More information about the talk
mailing list