RE: XPath transformer?

2002-09-03 Thread Luca Morandini
: Tuesday, September 03, 2002 3:46 AM To: [EMAIL PROTECTED] 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

Re: XPath transformer?

2002-09-03 Thread Nicola Ken Barozzi
Luca Morandini wrote: 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 . It's

Re: XPath transformer?

2002-09-02 Thread Jeff Turner
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

XPath transformer?

2002-08-30 Thread Jeff Turner
Hi, I have a user manual in XML format: document body s1 title=Introduction ... /s1 s1 title=Getting Started ... /s1 ... /body /document Is there any way that I could extract out just one s1 element, and render it as a page? Ie, like an XPath transformer

RE: XPath transformer?

2002-08-30 Thread Luca Morandini
://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Jeff Turner [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 10:25 AM To: [EMAIL PROTECTED] Subject: XPath transformer? Hi, I have a user manual in XML

RE: XPath transformer?

2002-08-30 Thread Koen Pellegrims
into a single 'include'-transformer in the near future). K. -Oorspronkelijk bericht- Van: Jeff Turner [mailto:[EMAIL PROTECTED]] Verzonden: vrijdag 30 augustus 2002 10:25 Aan: [EMAIL PROTECTED] Onderwerp: XPath transformer? Hi, I have a user manual in XML format: document body

RE: XPath transformer?

2002-08-30 Thread Piroumian Konstantin
element, and render it as a page? Ie, like an XPath transformer, that would extract a single node: If you need a pagination based on section elements then it's worth to take a look at Stefano's PaginatingTransformer. You'll find documentation on it here: http://xml.apache.org/cocoon/howto/howto

Re: XPath transformer?

2002-08-30 Thread Jeff Turner
augustus 2002 10:25 Aan: [EMAIL PROTECTED] Onderwerp: XPath transformer? Hi, I have a user manual in XML format: document body s1 title=Introduction ... /s1 s1 title=Getting Started ... /s1 ... /body /document Is there any way

RE: XPath transformer?

2002-08-30 Thread Luca Morandini
://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Jeff Turner [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 11:01 AM To: [EMAIL PROTECTED] Subject: Re: XPath transformer? Thanks (Luca too:) for the rapid

Re: XPath transformer?

2002-08-30 Thread Nicola Ken Barozzi
Jeff Turner wrote: Thanks (Luca too:) for the rapid replies. On Fri, Aug 30, 2002 at 10:21:47AM +0200, Koen Pellegrims wrote: What you are trying to do can just as easily be achieved with xslt, can't it? Not easily, because the 'match' attribute cannot be dynamic. Eg, I couldn't do: