Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 98969 invoked by uid 500); 3 Sep 2002 06:43:40 -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 98782 invoked from network); 3 Sep 2002 06:43:39 -0000 Reply-To: From: "Luca Morandini" To: Subject: RE: XPath transformer? Date: Tue, 3 Sep 2002 08:44:00 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20020903014551.GC856@expresso.localdomain> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Jeff, it came up to my mind just now... why don't you use a Xalan extension ? There is an "evaluate" function in there for such cases. Though I never use it, it seems to fit the bill: see for youself at http://xml.apache.org/xalan-j/extensionslib.html#evaluate . Best regards, --------------------------------------------- Luca Morandini GIS Consultant lmorandini@ieee.org http://utenti.tripod.it/lmorandini/index.html --------------------------------------------- > -----Original Message----- > From: Jeff Turner [mailto:jefft@apache.org] > Sent: Tuesday, September 03, 2002 3:46 AM > To: cocoon-users@xml.apache.org > Subject: Re: XPath transformer? > > > On Fri, Aug 30, 2002 at 10:55:03AM +0200, Luca Morandini wrote: > > > Not easily, because the 'match' attribute cannot be dynamic. Eg, I > > > > Oh, I see... so you want a *dynamic* selector. > > > > Hmm... this was not apparent from your example, It seemed you wanted > > just a way to select one chapter amongst many. > > > > Anyway, I think you should dirt your fingers with Xalan to get want you > > want. > > Yes, it can be done with document() > > > I cannot appreciate if this prospective XPathTransformer could be > > of general use, though... I never had such a need myself. > > FTR, I submitted an XPathTransformer at > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12235 > > --Jeff > > > > Best regards, > > > > > > --------------------------------------------- > > Luca Morandini > > GIS Consultant > > lmorandini@ieee.org > > http://utenti.tripod.it/lmorandini/index.html > > --------------------------------------------- > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: