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 <[email protected]> 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> > > _______________________________________________ > [email protected] > http://x-query.com/mailman/listinfo/talk _______________________________________________ [email protected] http://x-query.com/mailman/listinfo/talk
