- From: Innovimax SARL <innovimax@gmail.com>
- Date: Mon, 6 Oct 2008 19:08:19 +0200
- To: "XProc WG" <public-xml-processing-model-wg@w3.org>
- Message-ID: <546c6c1c0810061008x2d34bc2em89ad5b15cac0e3b9@mail.gmail.com>
Dear, Not sure why, but it is hard to find evidence in the spec that the following sample should work (albeit I *do* want to see it work !) <p:pipeline xmlns:p="http://www.w3.org/ns/xproc" xmlns:ix=" http://www.innovimax.fr/xproc/ns"> <p:declare-step name="recursive" type="ix:step"> <p:input port="source"/> <p:output port="result"/> <p:option name="level"/> <p:choose> <p:when test="number($level) = 0"> <p:identity/> </p:when> <p:otherwise> <ix:step2> <p:with-option name="level" select="number($level) - 1"/> </ix:step2> </p:otherwise> </p:choose> </p:declare-step> <p:declare-step name="recursive" type="ix:step2"> <p:input port="source"/> <p:output port="result"/> <p:option name="level"/> <p:choose> <p:when test="number($level) = 0"> <p:identity/> </p:when> <p:otherwise> <ix:step> <p:with-option name="level" select="number($level) - 1"/> </ix:step> </p:otherwise> </p:choose> </p:declare-step> <ix:step level="10"/> </p:pipeline> Mohamed -- Innovimax SARL Consulting, Training & XML Development 9, impasse des Orteaux 75020 Paris Tel : +33 9 52 475787 Fax : +33 1 4356 1746 http://www.innovimax.fr RCS Paris 488.018.631 SARL au capital de 10.000 €
Received on Monday, 6 October 2008 17:08:55 UTC