From: Вячеслав С. <sch...@gm...> - 2011-05-19 19:27:28
|
in other words question is about tail recursion optimization in eXist? i am interested too :) 19 мая 2011 г. 21:09 пользователь Василий Старцев <wst...@gm...> написал: > hi! > i try to transform document with xslt in recursive function like: > declare function local:clean-document(node, xslt){ > (: transform node with xslt :) > (: check transformation result :) > (: if need do it again :) > local:clean-document(document, xslt) > (: else return node :) > } > and this transformation except with memory allocation error. > i want to clearly understand: xq copy node in each call function? > how to make recursive function to work with one node in each iteration? > > -- > С наилучшими пожеланиями > Василий Старцев > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development > > |