Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 73081 invoked by uid 500); 4 Oct 2002 16:40:06 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 73062 invoked from network); 4 Oct 2002 16:40:05 -0000 From: "Robert Koberg" To: Subject: RE: XML input module (was: RE: Nice changes!) Date: Fri, 4 Oct 2002 09:38:06 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <601F6322AD71D5118D6C0003472515290660D002@sjmemexc1.stjude.org> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, > -----Original Message----- > From: Hunsberger, Peter [mailto:Peter.Hunsberger@stjude.org] > Sent: Friday, October 04, 2002 9:34 AM > To: 'cocoon-dev@xml.apache.org' > Subject: RE: XML input module (was: RE: Nice changes!) > > > > > Maybe, maybe not. One would need to use a lot extension functions to > > > achieve similar things (e.g. j2ee, databases and stuff) but that might > > > be portable to other pipeline systems (?). OTOH Apache Cocoon a lot > > > about SoC and it will need to be seen if that works as well with your > > > suggested approach. > > > > Instead of extensions you could use custom URIResolvers to return the > result > > from anywhere (or just do something and return succes/fail) to an > representation > > usable by a transformation. > > That would work, but where I'm heading I essentially want the equivalent of > a uri-resolver to be coded using XSLT looking not only at the URI but also > the current context. in XSLT 1.0 you can do: Where you pass the href and base arguments to the resolver. The 2cnd arg being the context. best, -Rob --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org