cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Morandini" <luca.morandi...@tin.it>
Subject RE: XPath transformer?
Date Tue, 03 Sep 2002 06:44:00 GMT
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.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message