Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 82766 invoked by uid 500); 1 Apr 2002 15:04:27 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 82755 invoked from network); 1 Apr 2002 15:04:26 -0000 Message-ID: <3CA87741.3080209@yahoo.de> Date: Mon, 01 Apr 2002 17:05:37 +0200 From: "J.Pietschmann" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: Is it possible to process multiple value parameter in XSL? References: <00f101c1d983$816e30b0$c7a8558b@vgritsenkopc> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Vadim Gritsenko wrote: >>From: KOZLOV Roman [mailto:r-kozlov@opencascade.com] >>Is it possible to process multiple value parameter in XSL under Cocoon >>2.01? > FWIW, I could say that this is offtopic and should be discussed in the > context of W3C XSLT spec. As far as I understand, you use > to declare parameters passed into stylesheet should (or must) have > unique name, so you will be able to pass only first (or last) value. Most processors can take a node set as parameter. Unfortunately, there is no standard for how to do this, in general it requires instantiation of processor specifc data types. Even more unfortunate for the problem at hand, having a node set consisting of text nodes only is a conceptual no-no, and wrapping it with some markup will also meet resistance. Note that the XSLT standard does not deal with the details of passing parameters. In particular, it does not state that only strings can be passed as parameters. It only states how parameters have to be declared, and how the passed values are accessed. > However, if you write custom action or matcher, you could create sitemap > parameter "mytst" with the value "002,004,005", pass it to the > stylesheet, and tokenize there. Note that tokenizing in XSLT 1.0 is hard. It is recommended to look at processor extensions or libraries like EXSLT or FXSLT. For details, the XSL list, its archives and/or the XSL FAQ at http://www.dpawson.co.uk/ should be consulted. Regards, J.Pietschmann --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: