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

RE: XPath transformer?

2002-08-30 Thread Luca Morandini
Jeff, you need just an XSLT transformer for this purpose: use a stylesheet that matches the wanted element and discards the rest. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED]

RE: XPath transformer?

2002-08-30 Thread Koen Pellegrims
What you are trying to do can just as easily be achieved with xslt, can't it? If you *really* want xpath, you can always write a small xsp-page that generates an xinclude-statement and then run it through the xinclude-transformer (which, IIRC will be merged with the cinclude transformer into a

RE: XPath transformer?

2002-08-30 Thread Piroumian Konstantin
From: Jeff Turner [mailto:[EMAIL PROTECTED]] 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

Re: XPath transformer?

2002-08-30 Thread Jeff Turner
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: xsl:param name=xpath-expr/

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: